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 /main/php_syslog.h | |
parent | adb3e3992ca89f3bed30f40b8ab6fa2c2a50cfc6 (diff) | |
download | php-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.h | 3 |
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) |