aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-10-26 15:27:12 +0200
committerMax <msuraev@sysmocom.de>2017-10-26 15:57:55 +0200
commit095de01daadfc1e2b906c250a0745d6ed538d842 (patch)
treefb40ef5cc297011e8e7368b633620c171e6cb771
parent61940b3f5cd289c6ee859736ec55fae38def6571 (diff)
Fix libosmo-sigtran dependency
That's follow-up fix for I72819462db0b4656fabaa80731342d06ae91fcdf to make sure IU builds are properly conditioned. Change-Id: Idb034bf2ae749204836ab7e02018d769bb242a9f
-rw-r--r--src/gprs/gtphub_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gprs/gtphub_main.c b/src/gprs/gtphub_main.c
index c3e25d52..3f7de507 100644
--- a/src/gprs/gtphub_main.c
+++ b/src/gprs/gtphub_main.c
@@ -39,14 +39,16 @@
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/ports.h>
-#include <osmocom/sigtran/osmo_ss7.h>
-
#include <osmocom/sgsn/debug.h>
#include <osmocom/sgsn/gtphub.h>
#include <osmocom/sgsn/vty.h>
#include "../../bscconfig.h"
+#if BUILD_IU
+#include <osmocom/sigtran/osmo_ss7.h>
+#endif
+
extern void *osmo_gtphub_ctx;
void *tall_bsc_ctx;