From c1d0932eb884cb2026e7c072f9c2299241b02f6a Mon Sep 17 00:00:00 2001 From: Mattias Flodin Date: Mon, 31 Dec 2018 11:54:12 +0100 Subject: [PATCH] Fix build error with glibc 2.26 and above SIGUNUSED has been removed and causes compilation errors. Based on the name it was probaably never used anyway, so just remove it. --- reckless/src/crash_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reckless/src/crash_handler.cpp b/reckless/src/crash_handler.cpp index f7f5d28..f435268 100644 --- a/reckless/src/crash_handler.cpp +++ b/reckless/src/crash_handler.cpp @@ -41,7 +41,7 @@ std::initializer_list const signals = { // SUSv2 + POSIX.1-2001 signals SIGBUS, SIGPOLL, SIGPROF, SIGSYS, SIGTRAP, SIGVTALRM, SIGXCPU, SIGXFSZ, // Various other signals - SIGIOT, SIGSTKFLT, SIGIO, SIGPWR, SIGUNUSED, + SIGIOT, SIGSTKFLT, SIGIO, SIGPWR, }; std::vector g_logs;