summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/ChangeLog3
-rw-r--r--src/include/sys/syslog.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/sys/ChangeLog b/src/include/sys/ChangeLog
new file mode 100644
index 000000000..c8ddad3a6
--- /dev/null
+++ b/src/include/sys/ChangeLog
@@ -0,0 +1,3 @@
+Thu Apr 13 16:05:08 1995 Keith Vetter (keithv@fusion.com)
+
+ * syslog.h: __STDC__ conditionals also check for the _WINDOWS define.
diff --git a/src/include/sys/syslog.h b/src/include/sys/syslog.h
index 8e3a80f21..682243e76 100644
--- a/src/include/sys/syslog.h
+++ b/src/include/sys/syslog.h
@@ -90,7 +90,7 @@
#define LOG_NOWAIT 0x10 /* if forking to log on console, don't wait() */
#ifndef KERNEL
-#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES)
+#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES) || defined(_WINDOWS)
extern void syslog (int , const char *, ... );
#ifdef va_start
/* XXX depending on #define of va_start in <stdarg.h> */