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

Christophe Fergeau cfergeau at redhat.com
Mon Aug 27 05:16:42 PDT 2012


Hey,

On Sun, Aug 19, 2012 at 05:02:10PM +0200, Yann E. MORIN wrote:
> When the C library is uClibc, stdarg.h is required to get the
> definition for va_list et al.

This is also what man va_arg is saying on my glibc system, so ACK

Christophe

> 
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120827/1e7c5997/attachment.pgp>


More information about the Spice-devel mailing list