mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
fix linux build for missing getpid()
This commit is contained in:
parent
b1bf83e0a4
commit
c39b239f99
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue