Fixed includes to latest mISDNuser structures.
[lcr.git] / gsm.cpp
diff --git a/gsm.cpp b/gsm.cpp
index 3358329..b2bdd6b 100644 (file)
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -18,10 +18,10 @@ extern "C" {
 #include <getopt.h>
 
 #include <openbsc/db.h>
-#include <openbsc/select.h>
+#include <osmocore/select.h>
 #include <openbsc/debug.h>
 #include <openbsc/e1_input.h>
-#include <openbsc/talloc.h>
+#include <osmocore/talloc.h>
 #include <openbsc/mncc.h>
 #include <openbsc/trau_frame.h>
 struct gsm_network *bsc_gsmnet = 0;
@@ -176,7 +176,7 @@ int Pgsm::bchannel_open(int index)
                bchannel_close();
                return(ret);
        }
-       memset(&p_m_g_gsm_b_fd, 0, sizeof(p_m_g_gsm_b_fd.fd));
+       memset(&p_m_g_gsm_b_fd, 0, sizeof(p_m_g_gsm_b_fd));
        p_m_g_gsm_b_fd.fd = p_m_g_gsm_b_sock;
        register_fd(&p_m_g_gsm_b_fd, LCR_FD_READ, b_handler, this, 0);