[Spice-devel] [PATCH 4/9] common: ring.h should include stddef for NULL usage

Christophe Fergeau cfergeau at redhat.com
Wed Apr 27 04:18:09 PDT 2011


On Tue, Jan 25, 2011 at 07:17:23PM +0100, Marc-André Lureau wrote:
> diff --git a/common/ring.h b/common/ring.h
> index defa1ed..dcd3fbf 100644
> --- a/common/ring.h
> +++ b/common/ring.h
> @@ -19,6 +19,8 @@
>  #ifndef _H_RING2
>  #define _H_RING2
>  
> +#include <stddef.h>
> +

These days ring.h includes spice_common.h, which has

#include <stdio.h>
#include <stdint.h>
#include <time.h>
#include <stdlib.h>

stdlib includes stddef, so this patch should no longer be needed.

Christophe
-------------- 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/20110427/ef94b888/attachment-0001.pgp>


More information about the Spice-devel mailing list