Include unistd.h on POSIX, not just on __linux__.
Should fix use of fork() on OS X.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "funchandlers.h"
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined ( POSIX )
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user