diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-08-31 00:36:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-08-31 00:36:43 -0400 |
commit | a7c07605d0889d7dd3a78d6658895150ca87b981 (patch) | |
tree | d436e42eb5ca5bb0ffe231836cd26f39ae16e831 /src/common/util.c | |
parent | 2778cdd6711b4c1268b6a8313d9bd8d9fb62e6aa (diff) | |
download | tor-a7c07605d0889d7dd3a78d6658895150ca87b981.tar tor-a7c07605d0889d7dd3a78d6658895150ca87b981.tar.gz |
Add a missing include to util.c to get waitpid() on Linux
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | 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 2fa79b886..09eb969c2 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 |