aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch b/meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch
new file mode 100644
index 0000000000..d29c1fb870
--- /dev/null
+++ b/meta/recipes-extended/libtirpc/libtirpc/0003-debug.h-Include-stdarg.patch
@@ -0,0 +1,20 @@
+Subject: [PATCH] debug.h: add missing include
+
+Upstream-Status: Pending
+
+In file included from src/clnt_bcast.c:67:0:
+src/debug.h:39:47: error: unknown type name 'va_list'
+ vlibtirpc_log_dbg(int level, const char *fmt, va_list args)
+
+
+diff -rdup libtirpc-0.2.5.oorig/src/debug.h libtirpc-0.2.5/src/debug.h
+--- libtirpc-0.2.5.oorig/src/debug.h 2014-08-08 18:24:34.000000000 +0200
++++ libtirpc-0.2.5/src/debug.h 2015-03-11 20:55:29.141397172 +0100
+@@ -21,6 +21,7 @@
+
+ #ifndef _DEBUG_H
+ #define _DEBUG_H
++#include <stdarg.h>
+ #include <syslog.h>
+
+ extern int libtirpc_debug_level;