summaryrefslogtreecommitdiff
path: root/rb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rb.h')
-rw-r--r--rb.h3
1 files changed, 3 insertions, 0 deletions
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 <stdlib.h>
+
#include <stdint.h>
#include <sys/types.h>