Include signal.h jointly for POSIX systems
Otherwise, for example, FreeBSD the build fails due to SIGKILL not being around.
This commit is contained in:
parent
3b8dc45dc3
commit
c3d84a24a9
12
src/Root.cpp
12
src/Root.cpp
@ -25,13 +25,15 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32)
|
||||
#include <psapi.h>
|
||||
#elif defined(__linux__)
|
||||
#include <fstream>
|
||||
#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#include <signal.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <mach/mach.h>
|
||||
#if defined(__linux__)
|
||||
#include <fstream>
|
||||
#elif defined(__APPLE__)
|
||||
#include <mach/mach.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user