[MERGED] osmo-sgsn[master]: Fix libosmo-sigtran dependency

Max gerrit-no-reply at lists.osmocom.org
Thu Oct 26 15:00:32 UTC 2017


Max has submitted this change and it was merged.

Change subject: Fix libosmo-sigtran dependency
......................................................................


Fix libosmo-sigtran dependency

That's follow-up fix for I72819462db0b4656fabaa80731342d06ae91fcdf to
make sure IU builds are properly conditioned.

Change-Id: Idb034bf2ae749204836ab7e02018d769bb242a9f
---
M src/gprs/gtphub_main.c
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  dexter: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gprs/gtphub_main.c b/src/gprs/gtphub_main.c
index c3e25d5..3f7de50 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;
 

-- 
To view, visit https://gerrit.osmocom.org/4430
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb034bf2ae749204836ab7e02018d769bb242a9f
Gerrit-PatchSet: 3
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>


More information about the gerrit-log mailing list