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>
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32)
|
||||||
#include <psapi.h>
|
#include <psapi.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||||
#include <fstream>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#elif defined(__APPLE__)
|
#if defined(__linux__)
|
||||||
#include <mach/mach.h>
|
#include <fstream>
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
#include <mach/mach.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user