summaryrefslogtreecommitdiff
path: root/ext/standard/syslog.c
diff options
context:
space:
mode:
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