Browse Source

Add sys/time.h include back to procmon.c

Nick Mathewson 5 years ago
parent
commit
d3d6c59557
2 changed files with 6 additions and 0 deletions
  1. 3 0
      changes/bug27990
  2. 3 0
      src/lib/evloop/procmon.c

+ 3 - 0
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.

+ 3 - 0
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>