Include unistd.h on POSIX, not just on __linux__.

Should fix use of fork() on OS X.
This commit is contained in:
Rudolf Polzer
2014-10-28 14:37:21 +00:00
parent ac4581fd4a
commit e995cc897b

View File

@@ -31,7 +31,7 @@
#include "funchandlers.h"
#ifdef __linux__
#if defined ( POSIX )
#include <sys/types.h>
#include <unistd.h>
#endif