Merge pull request #4019 from bentley/posix-includes

POSIX includes portability
This commit is contained in:
Matthew Parlane 2016-07-18 09:19:20 +12:00 committed by GitHub
commit b9246cf5e1
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,11 @@
#include <cstdio>
#include <cstdlib>
#include <string>
#ifndef _WIN32
#include <arpa/inet.h>
#include <netdb.h>
#include <poll.h>
#endif
#include "Common/CommonPaths.h"
#include "Common/FileUtil.h"

View file

@ -4,6 +4,7 @@
#include <algorithm>
#ifndef _WIN32
#include <arpa/inet.h>
#include <unistd.h>
#endif