Parcourir la source

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

Nick Mathewson il y a 14 ans
Parent
commit
a7c07605d0
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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