linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH [libtirpc]] include stdarg.h when used
@ 2014-08-12  7:12 Mike Frysinger
  2014-08-12 14:52 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2014-08-12  7:12 UTC (permalink / raw)
  To: libtirpc-devel; +Cc: linux-nfs

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>
---
 src/debug.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/debug.h b/src/debug.h
index afc8d57..c971ac3 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -21,6 +21,8 @@
 
 #ifndef _DEBUG_H
 #define _DEBUG_H
+
+#include <stdarg.h>
 #include <syslog.h>
 
 extern int libtirpc_debug_level;
-- 
2.0.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-12 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12  7:12 [PATCH [libtirpc]] include stdarg.h when used Mike Frysinger
2014-08-12 14:52 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).