summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
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