summaryrefslogtreecommitdiff
path: root/ext/standard/syslog.c
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 /ext/standard/syslog.c
parentadb3e3992ca89f3bed30f40b8ab6fa2c2a50cfc6 (diff)
downloadphp-git-a40ee1f181f98504e476dc85ab27210099a54680.tar.gz
Actually compile on systems without syslog.
PR: #9412
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r--ext/standard/syslog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c
index ef7f1a483f..24ceb9ab75 100644
--- a/ext/standard/syslog.c
+++ b/ext/standard/syslog.c
@@ -19,6 +19,8 @@
/* $Id$ */
#include "php.h"
+
+#ifdef HAVE_SYSLOG_H
#include "php_ini.h"
#include "zend_globals.h"
@@ -262,6 +264,8 @@ PHP_FUNCTION(syslog)
}
/* }}} */
+#endif
+
/*
* Local variables:
* tab-width: 4