aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/sccp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-02-26 20:18:24 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-02-26 20:18:24 +0100
commit10ca3799e7a769fe01a76cc0569db95cdf0f7c16 (patch)
treeb95b745d5527be97dc7db31f3a67b6b0547450cd /openbsc/tests/sccp
parente1d506778994c6f844d60c903d7cdeb2ffc74925 (diff)
parent140f6e9b12fcb83d161dc1cd8c5d6972ef86fc7c (diff)
Merge remote branch 'origin/master' into on-waves/sccp
Diffstat (limited to 'openbsc/tests/sccp')
-rw-r--r--openbsc/tests/sccp/Makefile.am4
-rw-r--r--openbsc/tests/sccp/sccp_test.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/tests/sccp/Makefile.am b/openbsc/tests/sccp/Makefile.am
index 5a275fc2b..b35693e82 100644
--- a/openbsc/tests/sccp/Makefile.am
+++ b/openbsc/tests/sccp/Makefile.am
@@ -1,8 +1,8 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS=-Wall -ggdb3
+AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS)
noinst_PROGRAMS = sccp_test
sccp_test_SOURCES = sccp_test.c
-sccp_test_LDADD = $(top_builddir)/src/libsccp.a $(top_builddir)/src/libbsc.a
+sccp_test_LDADD = $(top_builddir)/src/libsccp.a $(top_builddir)/src/libbsc.a $(LIBOSMOCORE_LIBS)
diff --git a/openbsc/tests/sccp/sccp_test.c b/openbsc/tests/sccp/sccp_test.c
index 38c14e410..eb41d3eaf 100644
--- a/openbsc/tests/sccp/sccp_test.c
+++ b/openbsc/tests/sccp/sccp_test.c
@@ -26,9 +26,11 @@
#include <arpa/inet.h>
-#include <sccp/sccp.h>
#include <openbsc/gsm_data.h>
#include <openbsc/debug.h>
+#include <osmocore/msgb.h>
+
+#include <sccp/sccp.h>
#define MIN(x, y) ((x) < (y) ? (x) : (y))