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

Marc-André Lureau marcandre.lureau at redhat.com
Tue Jan 25 10:17:23 PST 2011


---
 common/ring.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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>
+
 typedef struct Ring RingItem;
 typedef struct Ring {
     RingItem *prev;
-- 
1.7.3.4



More information about the Spice-devel mailing list