]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add a missing include to util.c to get waitpid() on Linux
authorNick Mathewson <nickm@torproject.org>
Wed, 31 Aug 2011 04:36:43 +0000 (00:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 31 Aug 2011 04:36:43 +0000 (00:36 -0400)
src/common/util.c

index 2fa79b88665293f9f788b93ef4b4825d0af28a63..09eb969c2cf0f90372230e31a449d0bec11e7538 100644 (file)
@@ -88,6 +88,9 @@
 #ifdef HAVE_MALLOC_NP_H
 #include <malloc_np.h>
 #endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
 
 /* =====
  * Memory management