ソースを参照

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

Nick Mathewson 14 年 前
コミット
a7c07605d0
1 ファイル変更3 行追加0 行削除
  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