aboutsummaryrefslogtreecommitdiffstats
path: root/main/s390-tools/0004-missing-time-header.patch
blob: e9b051c7c93897f699c5fd619eb26cad4f2cedd0 (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
@@ -25,7 +25,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
@@ -12,6 +12,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);