Applied changes of OpenBSC main branch. LCR now works with OpenBSC main branch.
[lcr.git] / gsm.h
diff --git a/gsm.h b/gsm.h
index 4360cf1..a4653e1 100644 (file)
--- a/gsm.h
+++ b/gsm.h
@@ -1,6 +1,9 @@
+extern "C" {
+#include <openbsc/gsm_data.h>
+}
 
 struct bts_conf {
 
 struct bts_conf {
-       int type;                       /* type of BTS */
+       gsm_bts_type type;              /* type of BTS */
        int card;                       /* E1 card number of BS11 BTS */
        int numtrx;                     /* up to 8 TRXs */
        int frequency[8];               /* up to 8 frequencies for TRXs */
        int card;                       /* E1 card number of BS11 BTS */
        int numtrx;                     /* up to 8 TRXs */
        int frequency[8];               /* up to 8 frequencies for TRXs */