mirror of https://github.com/Icinga/icinga2.git
Compilation fixes for Windows.
This commit is contained in:
parent
d1f4d9b829
commit
145d85d148
|
@ -1,5 +1,7 @@
|
|||
#include "i2-icinga.h"
|
||||
#include "popen_noshell.h"
|
||||
#ifndef _MSC_VER
|
||||
# include "popen_noshell.h"
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
using namespace icinga;
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ long Service::GetRetryInterval(void) const
|
|||
|
||||
void Service::SetNextCheck(time_t nextCheck)
|
||||
{
|
||||
GetConfigObject()->SetProperty("next_check", nextCheck);
|
||||
GetConfigObject()->SetProperty("next_check", (long)nextCheck);
|
||||
}
|
||||
|
||||
time_t Service::GetNextCheck(void)
|
||||
|
|
Loading…
Reference in New Issue