aboutsummaryrefslogtreecommitdiffstats
path: root/src/ringbuf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ringbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ringbuf.c b/src/ringbuf.c
index 20a09b326..e99f26fc6 100644
--- a/src/ringbuf.c
+++ b/src/ringbuf.c
@@ -25,6 +25,8 @@
#include "ringbuf.h"
#include "utils.h"
+#include <string.h>
+
#define advance_ptr(ptr,cnt,mask) ptr = (ptr + cnt) & mask
/*