summaryrefslogtreecommitdiff
path: root/ext/standard/php_syslog.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-07 00:10:32 +0000
committerSascha Schumann <sas@php.net>2000-05-07 00:10:32 +0000
commit2df8e7341e570e7aec31495b24b4c9b8f9e2336e (patch)
tree5bd86df3c1ca4500d452e6925f7ddcff82887989 /ext/standard/php_syslog.h
parentec9612aa44f10fd04e74c760e7104e9621c46a9c (diff)
downloadphp-git-2df8e7341e570e7aec31495b24b4c9b8f9e2336e.tar.gz
Move <syslog.h> inclusion into php_syslog.h. This will make sure that
all source files "get it."
Diffstat (limited to 'ext/standard/php_syslog.h')
-rw-r--r--ext/standard/php_syslog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/php_syslog.h b/ext/standard/php_syslog.h
index a1417e2cb8..71ec3fdb7c 100644
--- a/ext/standard/php_syslog.h
+++ b/ext/standard/php_syslog.h
@@ -32,6 +32,12 @@
#if HAVE_SYSLOG_H
+#ifdef PHP_WIN32
+#include "win32/syslog.h"
+#else
+#include <syslog.h>
+#endif
+
extern PHP_MINIT_FUNCTION(syslog);
extern PHP_RINIT_FUNCTION(syslog);
extern PHP_RSHUTDOWN_FUNCTION(syslog);