From c3d84a24a9ae426a57301c1585468b6ea35bbaeb Mon Sep 17 00:00:00 2001 From: Matti Hanninen Date: Sun, 23 Aug 2015 09:13:53 +0300 Subject: [PATCH] Include signal.h jointly for POSIX systems Otherwise, for example, FreeBSD the build fails due to SIGKILL not being around. --- src/Root.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Root.cpp b/src/Root.cpp index ba895a9d6..dc90671fb 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -25,13 +25,15 @@ #include -#ifdef _WIN32 +#if defined(_WIN32) #include -#elif defined(__linux__) - #include +#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #include -#elif defined(__APPLE__) - #include + #if defined(__linux__) + #include + #elif defined(__APPLE__) + #include + #endif #endif