misc: Fix compilation of the test cases.
diff --git a/openbsc/tests/channel/Makefile.am b/openbsc/tests/channel/Makefile.am
index 564cbaf..6b9f6e3 100644
--- a/openbsc/tests/channel/Makefile.am
+++ b/openbsc/tests/channel/Makefile.am
@@ -13,6 +13,9 @@
 	$(top_srcdir)/src/talloc.c \
 	$(top_srcdir)/src/gsm_data.c \
 	$(top_srcdir)/src/signal.c \
-	$(top_srcdir)/src/statistics.c
+	$(top_srcdir)/src/statistics.c \
+	$(top_srcdir)/src/bts_ipaccess_nanobts.c \
+	$(top_srcdir)/src/bts_siemens_bs11.c \
+	$(top_srcdir)/src/tlv_parser.c
 channel_test_LDADD = -ldl -ldbi
 
diff --git a/openbsc/tests/channel/channel_test.c b/openbsc/tests/channel/channel_test.c
index 1b01878..36d0572 100644
--- a/openbsc/tests/channel/channel_test.c
+++ b/openbsc/tests/channel/channel_test.c
@@ -77,3 +77,5 @@
 void input_event() {}
 void sms_alloc() {}
 
+struct tlv_definition nm_att_tlvdef;
+