aboutsummaryrefslogtreecommitdiff
path: root/src/lib/evloop/procmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evloop/procmon.c')
-rw-r--r--src/lib/evloop/procmon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evloop/procmon.c b/src/lib/evloop/procmon.c
index e0c26caab2..02e167377f 100644
--- a/src/lib/evloop/procmon.c
+++ b/src/lib/evloop/procmon.c
@@ -20,6 +20,9 @@
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#ifdef _WIN32
#include <winsock2.h>