Module: check_mk
Branch: master
Commit: bbc247fc086ef2836358677e738826866ddffe33
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bbc247fc086ef2…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Nov 12 11:32:31 2015 +0100
Use the right kind of #include.
---
livestatus/src/HostSpecialDoubleColumn.cc | 2 +-
livestatus/src/ServiceSpecialDoubleColumn.cc | 2 +-
livestatus/src/global_counters.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/livestatus/src/HostSpecialDoubleColumn.cc
b/livestatus/src/HostSpecialDoubleColumn.cc
index 59c005d..fa30c6b 100644
--- a/livestatus/src/HostSpecialDoubleColumn.cc
+++ b/livestatus/src/HostSpecialDoubleColumn.cc
@@ -23,8 +23,8 @@
// Boston, MA 02110-1301 USA.
#include "HostSpecialDoubleColumn.h"
+#include <time.h>
#include "nagios.h"
-#include "time.h"
extern int interval_length;
diff --git a/livestatus/src/ServiceSpecialDoubleColumn.cc
b/livestatus/src/ServiceSpecialDoubleColumn.cc
index d3b3aac..42f976c 100644
--- a/livestatus/src/ServiceSpecialDoubleColumn.cc
+++ b/livestatus/src/ServiceSpecialDoubleColumn.cc
@@ -24,8 +24,8 @@
#include "ServiceSpecialDoubleColumn.h"
#include <string.h>
+#include <time.h>
#include "nagios.h"
-#include "time.h"
extern int interval_length;
diff --git a/livestatus/src/global_counters.c b/livestatus/src/global_counters.c
index 9608445..bbb9974 100644
--- a/livestatus/src/global_counters.c
+++ b/livestatus/src/global_counters.c
@@ -24,7 +24,7 @@
#define EXTERN /* */
#include "global_counters.h"
-#include "time.h"
+#include <time.h>
time_t last_statistics_update = 0;
#define STATISTICS_INTERVAL 5