Explorar el Código

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

Nick Mathewson hace 15 años
padre
commit
a7c07605d0
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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