summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAndreas Eversberg2011-07-20 12:57:59 +0200
committerAndreas Eversberg2011-07-20 12:59:35 +0200
commit39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8 (patch)
tree2b2bae0c0c348848535251ac1afebbf5b328d129 /main.c
parentDon't try to install default/gsm.conf as it was removed. (diff)
downloadlcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.tar.gz
lcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.tar.xz
lcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.zip
Make LCR compile with latest osmocomBB code.
The libosmocore structure has changed.
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.c b/main.c
index 1aa2d8b..6eb2b68 100644
--- a/main.c
+++ b/main.c
@@ -10,10 +10,13 @@
\*****************************************************************************/
#include "main.h"
+#ifdef PACKAGE_VERSION
+#undef PACKAGE_VERSION
+#endif
#include "config.h"
#ifdef WITH_GSM_MS
extern "C" {
-#include <osmocore/signal.h>
+#include <osmocom/core/signal.h>
}
#endif
@@ -156,7 +159,7 @@ void sighandler(int sigset)
#ifdef WITH_GSM_MS
if (!wait_ms) {
wait_ms = 1;
- dispatch_signal(SS_GLOBAL, S_GLOBAL_SHUTDOWN, NULL);
+ osmo_signal_dispatch(SS_GLOBAL, S_GLOBAL_SHUTDOWN, NULL);
return;
}
#endif