diff options
author | Sascha Schumann <sas@php.net> | 2001-02-24 21:08:15 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-02-24 21:08:15 +0000 |
commit | a40ee1f181f98504e476dc85ab27210099a54680 (patch) | |
tree | 0fa0037fa9f01b5fe5c7a70bddd283225c29caf3 /ext/standard/syslog.c | |
parent | adb3e3992ca89f3bed30f40b8ab6fa2c2a50cfc6 (diff) | |
download | php-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.c | 4 |
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 |