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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user