misc: Put git-version-gen into the tarball
[osmocom-bb.git] / src / panic.c
index 5fb7b56..d445226 100644 (file)
@@ -20,8 +20,9 @@
  *
  */
 
-#include <osmocore/gsm_utils.h>
-#include <osmocore/panic.h>
+#include <osmocom/gsm/gsm_utils.h>
+#include <osmocom/core/panic.h>
+#include <osmocom/core/backtrace.h>
 
 #include "../config.h"
 
@@ -37,7 +38,7 @@ static osmo_panic_handler_t osmo_panic_handler = (void*)0;
 static void osmo_panic_default(const char *fmt, va_list args)
 {
        vfprintf(stderr, fmt, args);
-       generate_backtrace();
+       osmo_generate_backtrace();
        abort();
 }