[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add a missing include to util.c to get waitpid() on Linux



commit a7c07605d0889d7dd3a78d6658895150ca87b981
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Aug 31 00:36:43 2011 -0400

    Add a missing include to util.c to get waitpid() on Linux
---
 src/common/util.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/common/util.c b/src/common/util.c
index 2fa79b8..09eb969 100644
--- a/src/common/util.c
+++ b/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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits