public inbox for kbd@lists.linux.dev
 help / color / mirror / Atom feed
* [kbd] [PATCH] libkeymap: include stdarg.h where used
@ 2014-01-06 15:27 Mike Frysinger
  2014-01-06 18:30 ` Alexey Gladkov
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2014-01-06 15:27 UTC (permalink / raw)
  To: kbd

Some of these headers use va_list but don't include stdarg.h for it.

Reported-by: Anthony Basile <blueness@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 src/libkeymap/contextP.h      | 2 ++
 src/libkeymap/keymap/common.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/libkeymap/contextP.h b/src/libkeymap/contextP.h
index e3798e3..8ee3fab 100644
--- a/src/libkeymap/contextP.h
+++ b/src/libkeymap/contextP.h
@@ -1,6 +1,8 @@
 #ifndef LK_CONTEXTP_H
 #define LK_CONTEXTP_H
 
+#include <stdarg.h>
+
 #include "keymap.h"
 
 /**
diff --git a/src/libkeymap/keymap/common.h b/src/libkeymap/keymap/common.h
index 6b9cead..987b564 100644
--- a/src/libkeymap/keymap/common.h
+++ b/src/libkeymap/keymap/common.h
@@ -6,6 +6,8 @@
 #ifndef LK_COMMON_H
 #define LK_COMMON_H
 
+#include <stdarg.h>
+
 #include <keymap/context.h>
 
 /** Initializes the structures necessary to read and/or parse keymap.
-- 
1.8.4.3



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

end of thread, other threads:[~2014-01-06 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 15:27 [kbd] [PATCH] libkeymap: include stdarg.h where used Mike Frysinger
2014-01-06 18:30 ` Alexey Gladkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox