fix missing va_list for vsyslog
authorRich Felker <dalias@aerifal.cx>
Sun, 13 May 2012 02:18:34 +0000 (22:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 13 May 2012 02:18:34 +0000 (22:18 -0400)
include/syslog.h

index d7668d3..e0d86c0 100644 (file)
@@ -60,10 +60,10 @@ int setlogmask (int);
 void syslog (int, const char *, ...);
 
 #if defined(_GNU_SOURCE)
-void vsyslog (int, const char *, va_list);
-#if defined(SYSLOG_NAMES)
 #define __NEED_va_list
 #include <bits/alltypes.h>
+void vsyslog (int, const char *, va_list);
+#if defined(SYSLOG_NAMES)
 #define        INTERNAL_NOPRI 0x10
 #define        INTERNAL_MARK (LOG_NFACILITIES<<3)
 struct __CODE {