From c3dbe9b22c93c187d806f5def44da5b47744923c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 12 May 2012 22:18:34 -0400 Subject: [PATCH] fix missing va_list for vsyslog --- include/syslog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/syslog.h b/include/syslog.h index d7668d35..e0d86c0d 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -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 +void vsyslog (int, const char *, va_list); +#if defined(SYSLOG_NAMES) #define INTERNAL_NOPRI 0x10 #define INTERNAL_MARK (LOG_NFACILITIES<<3) struct __CODE { -- 2.20.1