summaryrefslogtreecommitdiffstats
path: root/tests
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
commitbe49ea060133a88d492a6a608e2a31fa021cfa2c (patch)
tree721afb7c95c27b89590efeceb4efa87d176639a3 /tests
parentd8879f86ae0580fd09a00a514b316999710616ff (diff)
parent5d074c7ee21ee280ada06a8aa972b43a7d50eaf6 (diff)
Merge remote branch 'origin/master' into on-waves/sccp
Diffstat (limited to 'tests')
-rw-r--r--tests/sccp/Makefile.am4
-rw-r--r--tests/sccp/sccp_test.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/sccp/Makefile.am b/tests/sccp/Makefile.am
index 5a275fc..b35693e 100644
--- a/tests/sccp/Makefile.am
+++ b/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/tests/sccp/sccp_test.c b/tests/sccp/sccp_test.c
index 38c14e4..eb41d3e 100644
--- a/tests/sccp/sccp_test.c
+++ b/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))