summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-14 22:07:13 -0400
committerAdam <Adam@anope.org>2011-10-14 22:07:13 -0400
commit28ca0e10070cd449c90609d95e839739ec4b7590 (patch)
tree7e039fe56df34301f676f1c03390b9566500529c /include/services.h
parent2504af7d0f14ee72eac20dc6d6a12a08389ec0a9 (diff)
Fork earlier in startup to prevent it messing up threads, if there are any
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h
index 59f088d61..d34d858f1 100644
--- a/include/services.h
+++ b/include/services.h
@@ -40,6 +40,7 @@
#include <sys/stat.h> /* for umask() on some systems */
#include <sys/types.h>
+#include <sys/wait.h>
#include <fcntl.h>
#include <typeinfo>