Explorar o código

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

Nick Mathewson %!s(int64=14) %!d(string=hai) anos
pai
achega
a7c07605d0
Modificáronse 1 ficheiros con 3 adicións e 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