blob: 896964d655903316328f9504236607f4bcd45053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/mon_tools/mon_procd.c b/mon_tools/mon_procd.c
index 9b52057..d7dbee3 100644
--- a/mon_tools/mon_procd.c
+++ b/mon_tools/mon_procd.c
@@ -24,7 +24,7 @@
#include <sys/statvfs.h>
#include <sys/vfs.h>
#include <syslog.h>
-#include <time.h>
+#include <sys/time.h>
#include <unistd.h>
#include <utmp.h>
diff --git a/ziomon/ziomon_msg_tools.h b/ziomon/ziomon_msg_tools.h
index 383cdd4..1aa16ff 100644
--- a/ziomon/ziomon_msg_tools.h
+++ b/ziomon/ziomon_msg_tools.h
@@ -10,6 +10,7 @@
#ifndef ZIOMON_MSG__TOOLS_H
#define ZIOMON_MSG__TOOLS_H
+#include <time.h>
#include "ziomon_dacc.h"
void conv_blkiomon_v2_to_v3(struct message *msg);
|