1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00

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.
This commit is contained in:
Sascha Schumann
2000-05-06 23:17:11 +00:00
parent df81aba99f
commit 54fa1a77d7
+3
View File
@@ -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"