summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-21 19:59:23 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-21 19:59:23 +0000
commitd3aa76cef528a15571cade12ebdd10973f4ca579 (patch)
treebf5d26005dc4f8c88d58532c3aa1728c36edf01b /source3/include/includes.h
parent30e51241ecdda2724c441e372e6f99857719630f (diff)
downloadsamba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.gz
samba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.bz2
samba-d3aa76cef528a15571cade12ebdd10973f4ca579.zip
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 6084d583ed..9b597db78b 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -216,7 +216,11 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+
+#ifdef WITH_SYSLOG
#include <syslog.h>
+#endif
+
#include <sys/file.h>
#ifdef HAVE_NETINET_TCP_H