summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-24 21:09:52 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-25 13:05:04 +0100
commit37eda50e55ed9cfae6b488f880012dec1172bf08 (patch)
treed513a1543222d887e445ff4ea50f9665237021f2
parentf100682a497e1635895e52ee091e783edabc1877 (diff)
common: ring.h should include stddef for NULL usage
-rw-r--r--common/ring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/ring.h b/common/ring.h
index b22e499..91d4794 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;