projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
WIP
[awesomized/libmemcached]
/
src
/
util
/
daemon.cc
diff --git
a/src/util/daemon.cc
b/src/util/daemon.cc
index 3c65a7bb8a247bb4a2165c53d69052b121eda63c..429187b6fec72f60c3dff09c8c3fe379a142f58e 100644
(file)
--- a/
src/util/daemon.cc
+++ b/
src/util/daemon.cc
@@
-42,9
+42,12
@@
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
+#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#include <signal.h>
-#include <unistd.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <sys/select.h>
#include <util/daemon.hpp>