aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug279903
-rw-r--r--src/lib/evloop/procmon.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug27990 b/changes/bug27990
new file mode 100644
index 0000000000..763eef2527
--- /dev/null
+++ b/changes/bug27990
@@ -0,0 +1,3 @@
+ o Minor bugfixes (compilation, netbsd):
+ - Add a missing include back into procmon.c. Fixes bug 27990;
+ bugfix on 0.3.5.1-alpha.
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>