summaryrefslogtreecommitdiff
path: root/main/php_syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_syslog.h')
-rw-r--r--main/php_syslog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php_syslog.h b/main/php_syslog.h
index cf70159133..279da71c92 100644
--- a/main/php_syslog.h
+++ b/main/php_syslog.h
@@ -4,8 +4,11 @@
#ifdef PHP_WIN32
#include "win32/syslog.h"
#else
+#include "php_config.h"
+#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
+#endif
/*
* The SCO OpenServer 5 Development System (not the UDK)