From bd9efbd97da6d97a1a19522fed29d3c9c4d7d91b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 26 Dec 2013 15:16:14 +0100 Subject: rb: fix compilation issue rb.h uses an inline definition of rb_remove which uses NULL. since the standard declaration of NULL can be found in stdlib.h, we need to include it. --- rb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rb.h b/rb.h index 1483977..c5bde89 100644 --- a/rb.h +++ b/rb.h @@ -19,6 +19,9 @@ #ifndef RING_BUFFER_H #define RING_BUFFER_H +/* needed for the definition of NULL */ +#include + #include #include -- cgit v1.2.3