summaryrefslogtreecommitdiff
path: root/main/php_syslog.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-24 21:08:15 +0000
committerSascha Schumann <sas@php.net>2001-02-24 21:08:15 +0000
commita40ee1f181f98504e476dc85ab27210099a54680 (patch)
tree0fa0037fa9f01b5fe5c7a70bddd283225c29caf3 /main/php_syslog.h
parentadb3e3992ca89f3bed30f40b8ab6fa2c2a50cfc6 (diff)
downloadphp-git-a40ee1f181f98504e476dc85ab27210099a54680.tar.gz
Actually compile on systems without syslog.
PR: #9412
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)