Browse Source

Add a missing include to util.c to get waitpid() on Linux

Nick Mathewson 12 years ago
parent
commit
a7c07605d0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/common/util.c

+ 3 - 0
src/common/util.c

@@ -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