hackery to get windows to build

This commit is contained in:
Brad Hefta-Gaub 2014-01-10 19:58:10 -08:00
parent a5c5a35c12
commit 44893b0a8c

View file

@ -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"