ifdef around arpa/inet.h on WIN32 (unix only)

This commit is contained in:
dnotestein 2013-08-13 23:11:20 -04:00
parent 786941fe69
commit da9cda2b79
2 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View file

@ -31,8 +31,8 @@ ZERO_CHECK
*.lastbuildstate *.lastbuildstate
*.sdf *.sdf
*.opensdf *.opensdf
Debug Debug/
Release Release/
CMakeFiles CMakeFiles
Makefile Makefile

View file

@ -3,8 +3,9 @@
#include <fc/crypto/bigint.hpp> #include <fc/crypto/bigint.hpp>
#ifdef WIN32 #ifdef WIN32
#include <WinSock2.h> #include <WinSock2.h>
#endif #else
#include <arpa/inet.h> #include <arpa/inet.h>
#endif
namespace fc namespace fc
{ {