PHP_FE(ezmlm_hash, NULL)
/* functions from syslog.c */
+#ifdef HAVE_SYSLOG_H
PHP_FE(openlog, NULL)
PHP_FE(syslog, NULL)
PHP_FE(closelog, NULL)
PHP_FE(define_syslog_variables, NULL)
+#endif
/* functions from lcg.c */
PHP_FE(lcg_value, NULL)
#include "php_syslog.h"
-extern PHP_MINIT_FUNCTION(syslog);
-extern PHP_RINIT_FUNCTION(syslog);
-extern PHP_RSHUTDOWN_FUNCTION(syslog);
+PHP_MINIT_FUNCTION(syslog);
+PHP_RINIT_FUNCTION(syslog);
+PHP_RSHUTDOWN_FUNCTION(syslog);
PHP_FUNCTION(openlog);
PHP_FUNCTION(syslog);
/* $Id$ */
#include "php.h"
+
+#ifdef HAVE_SYSLOG_H
#include "php_ini.h"
#include "zend_globals.h"
}
/* }}} */
+#endif
+
/*
* Local variables:
* tab-width: 4
#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)