mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
hackery to get windows to build
This commit is contained in:
parent
a5c5a35c12
commit
44893b0a8c
1 changed files with 8 additions and 0 deletions
|
@ -9,8 +9,16 @@
|
|||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
#include <ctime>
|
||||
//#include <netdb.h> // not available on windows, apparently not needed on mac
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
#define getppid _getpid // hack to build
|
||||
#define pid_t int // hack to build
|
||||
#endif
|
||||
|
||||
#include <QtNetwork/QHostInfo>
|
||||
|
||||
#include "HifiSockAddr.h"
|
||||
|
|
Loading…
Reference in a new issue