Explorar o código

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

Nick Mathewson %!s(int64=5) %!d(string=hai) anos
pai
achega
d3d6c59557
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  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>