mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-08-19 13:08:46 -06:00
Fix Mac compilation
This commit is contained in:
parent
fa3146a8f3
commit
276cc5f0fd
@ -67,7 +67,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
|
||||||
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION)
|
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION) || defined(__MACH__)
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user