diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-09-13 21:51:05 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-09-13 21:51:05 +0000 |
commit | 176450750e98fd8108af83db94681fe897adfc18 (patch) | |
tree | f50f3915bb3e020224fe2fb60d151c37507138ac /lib | |
parent | 68eff12b4173e626b69d32954a2eddca811a819b (diff) |
Fix compile on Debian Squeeze with libbsd-dev and libedit-dev installed,
thanks to Dave Bamford for reporting and debugging. (merges [2734] from
0.11)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/server/Daemon.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp index e1bdab02..4888767a 100644 --- a/lib/server/Daemon.cpp +++ b/lib/server/Daemon.cpp @@ -19,6 +19,10 @@ #include <string.h> #include <stdarg.h> +#ifdef HAVE_BSD_UNISTD_H + #include <bsd/unistd.h> +#endif + #ifdef WIN32 #include <ws2tcpip.h> #endif |