Merge pull request #2447 from mjhanninen/fix-freebsd-signal-include
Fix FreeBSD build by including signal.h
This commit is contained in:
commit
7664981f51
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