Browse Source

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.
PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
54fa1a77d7
  1. 3
      ext/standard/basic_functions.c

3
ext/standard/basic_functions.c

@ -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"

Loading…
Cancel
Save