Commit e995cc89 authored by Rudolf Polzer's avatar Rudolf Polzer

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

Should fix use of fork() on OS X.
parent ac4581fd
......@@ -31,7 +31,7 @@
#include "funchandlers.h"
#ifdef __linux__
#if defined ( POSIX )
#include <sys/types.h>
#include <unistd.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment