cvs: /php4/ext/standard basic_functions.c

From: Date: Sat, 06 May 2000 23:17:11 +0000
Subject: cvs: /php4/ext/standard basic_functions.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-14622@lists.php.net to get a copy of this message
sas Sat May 6 16:17:11 2000 EDT Modified files: /php4/ext/standard basic_functions.c Log: On some systems, <syslog.h> defines syslog to another symbol, so that syslog.lo does not contain the expected symbols. Including <symbol.h> in basic_functions.c fixes the resulting linking problem. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.186 php4/ext/standard/basic_functions.c:1.187 --- php4/ext/standard/basic_functions.c:1.186 Tue Apr 25 17:29:59 2000 +++ php4/ext/standard/basic_functions.c Sat May 6 16:17:11 2000 @@ -44,6 +44,9 @@ #if HAVE_LOCALE_H #include <locale.h> #endif +#ifndef PHP_WIN32 +#include <syslog.h> /* for possible syslog macro */ +#endif #include "safe_mode.h" #ifdef PHP_WIN32 #include "win32/unistd.h"

« previous php.version4 (#14622) next »