Sfoglia il codice sorgente

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

Nick Mathewson 6 anni fa
parent
commit
d3d6c59557
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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>