include unistd only on Q_OS_LINUX

This commit is contained in:
Stephen Birarda 2014-10-29 10:37:39 -07:00
parent 200f5e38b6
commit 03e1da0ba9

View file

@ -17,7 +17,7 @@
#define getpid _getpid
#define getppid _getpid // hack to build
#define pid_t int // hack to build
#else
#elsif Q_OS_LINUX
#include <unistd.h> // for getpid() on linux
#endif