]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add sys/time.h include back to procmon.c
authorNick Mathewson <nickm@torproject.org>
Wed, 10 Oct 2018 15:26:38 +0000 (11:26 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 10 Oct 2018 15:26:38 +0000 (11:26 -0400)
changes/bug27990 [new file with mode: 0644]
src/lib/evloop/procmon.c

diff --git a/changes/bug27990 b/changes/bug27990
new file mode 100644 (file)
index 0000000..763eef2
--- /dev/null
@@ -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.
index e0c26caab24a125a3828dbab558144e453ee4d03..02e167377ff327ad882e81cc9d28fd20b32ef533 100644 (file)
@@ -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>