summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:13:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:13:10 +0000
commitd76d5647778a3a6500032eb0b19b24a18af1e711 (patch)
tree6a1754809f7d0f88f6f399043aac10b3b8f5df37
parent3645a51957c89e5388ce6d492888c65cf0e6b08a (diff)
downloadperl-d76d5647778a3a6500032eb0b19b24a18af1e711.tar.gz
Use <syslog.h>, not <sys/syslog.h>.
p4raw-id: //depot/cfgperl@4992
-rwxr-xr-xConfigure2
-rw-r--r--ext/Sys/Syslog/Syslog.xs4
2 files changed, 4 insertions, 2 deletions
diff --git a/Configure b/Configure
index 2c81abb0e1..25a149c138 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Feb 4 21:06:42 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Fri Feb 4 21:15:39 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
diff --git a/ext/Sys/Syslog/Syslog.xs b/ext/Sys/Syslog/Syslog.xs
index ac5220c24b..d227343a1a 100644
--- a/ext/Sys/Syslog/Syslog.xs
+++ b/ext/Sys/Syslog/Syslog.xs
@@ -2,7 +2,9 @@
#include "perl.h"
#include "XSUB.h"
-#include <sys/syslog.h>
+#ifdef I_SYSLOG
+#include <syslog.h>
+#endif
static double
constant_LOG_NO(char *name, int len, int arg)