]> granicus.if.org Git - libtirpc/commitdiff
libtirpc: include stdarg.h when used
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Aug 2014 14:50:34 +0000 (10:50 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 12 Aug 2014 14:50:34 +0000 (10:50 -0400)
The debug.h header uses va_list but doesn't include stdarg.h which
can lead to random build failures.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
src/debug.h

index afc8d5766769ac5fc15d5eb80c9254b186c6fcf4..c971ac303049b8283c6f437a69ae542c5b93dcdd 100644 (file)
@@ -21,6 +21,8 @@
 
 #ifndef _DEBUG_H
 #define _DEBUG_H
+
+#include <stdarg.h>
 #include <syslog.h>
 
 extern int libtirpc_debug_level;