X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=main.c;fp=main.c;h=6eb2b68afe796b1f75bbee1822fb2f09b91f5dd0;hp=1aa2d8b232a12b569cac53e41fdef9b6e531bc02;hb=39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8;hpb=d0698802a02138fe4462afdbf88cb47e3b528a18 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 +#include } #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