fix linux build for missing getpid()

This commit is contained in:
Andrew Meadows 2014-10-29 09:30:51 -07:00
parent b1bf83e0a4
commit c39b239f99

View file

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