[Spice-devel] [PATCH] client: fix missing stdarg.h include

Yann E. MORIN yann.morin.1998 at free.fr
Sun Aug 19 08:02:10 PDT 2012


When the C library is uClibc, stdarg.h is required to get the
definition for va_list et al.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

---
Not necessarily sure this is the best/proper place, but it makes it
build for me, and common.h seems like a nice place to put it.
YEM.
---
 client/common.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/client/common.h b/client/common.h
index ca3609f..13ef1c7 100644
--- a/client/common.h
+++ b/client/common.h
@@ -31,6 +31,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdarg.h>
 #include <string>
 #include <vector>
 #include <map>
-- 
1.7.2.5



More information about the Spice-devel mailing list