diff --git a/tools/src/dwarfs_main.cpp b/tools/src/dwarfs_main.cpp index 7ce1f9db2..c497e6548 100644 --- a/tools/src/dwarfs_main.cpp +++ b/tools/src/dwarfs_main.cpp @@ -49,10 +49,6 @@ #include -#ifdef DWARFS_STACKTRACE_ENABLED -#include -#endif - #ifndef DWARFS_FUSE_LOWLEVEL #define DWARFS_FUSE_LOWLEVEL 1 #endif @@ -1519,7 +1515,7 @@ int dwarfs_main(int argc, sys_char** argv, iolayer const& iol) { #ifdef DWARFS_STACKTRACE_ENABLED if (fuse_opts.foreground) { - folly::symbolizer::installFatalSignalHandler(); + install_signal_handlers(); } #endif @@ -1541,7 +1537,7 @@ int dwarfs_main(int argc, sys_char** argv, iolayer const& iol) { #ifdef DWARFS_STACKTRACE_ENABLED if (fg) { - folly::symbolizer::installFatalSignalHandler(); + install_signal_handlers(); } #endif