summaryrefslogtreecommitdiffstats
path: root/src/strrb.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-15 12:50:58 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-15 13:42:03 +0200
commita5bb2b9586aee6114614eed7d9b642dc03ad39fd (patch)
treee82a4d867fb80edac985ac951de06777c1a1a2a6 /src/strrb.c
parent20725b9eea15720a5dbad19aac6236b86a3e34c6 (diff)
strrb: Add missing #include to talloc.h
The strrb.c code uses talloc API without using the proper #include. Change-Id: I4ac485324f40545339d8df6884f1dea319a23648
Diffstat (limited to 'src/strrb.c')
-rw-r--r--src/strrb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strrb.c b/src/strrb.c
index 8f925bd3..069a6993 100644
--- a/src/strrb.c
+++ b/src/strrb.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <osmocom/core/strrb.h>
+#include <osmocom/core/talloc.h>
/* Ringbuffer assumptions, invarients, and notes:
* - start is the index of the first used index slot in the ring buffer.