summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
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