summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-15 17:54:11 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 18:04:02 +0100
commitf2899c674e6dc43142edbfffeacc1b0c40a2f885 (patch)
tree64de3a4372f934497d78c73e13cb1a436a9b2551
parent1a7d64ccd12bb73852f665af0bf853351a0717f9 (diff)
Always include <osmocom/core/talloc.h> and not <talloc.h>
In EMBEDDED builds we don't have a system-wide talloc Change-Id: Icc526016bda45b36e584afee8669996752d6d89c
-rw-r--r--include/osmocom/core/bitvec.h2
-rw-r--r--src/ctrl/control_vty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/bitvec.h b/include/osmocom/core/bitvec.h
index 0e17ba7a..280039bf 100644
--- a/include/osmocom/core/bitvec.h
+++ b/include/osmocom/core/bitvec.h
@@ -41,7 +41,7 @@
*/
#include <stdint.h>
-#include <talloc.h>
+#include <osmocom/core/talloc.h>
#include <stdbool.h>
/*! \brief A single GSM bit
diff --git a/src/ctrl/control_vty.c b/src/ctrl/control_vty.c
index 7acb9732..a67dbe28 100644
--- a/src/ctrl/control_vty.c
+++ b/src/ctrl/control_vty.c
@@ -21,7 +21,7 @@
*/
#include <stdlib.h>
-#include <talloc.h>
+#include <osmocom/core/talloc.h>
#include <osmocom/ctrl/control_vty.h>
#include <osmocom/vty/command.h>