ifdef around arpa/inet.h on WIN32 (unix only)
This commit is contained in:
parent
786941fe69
commit
da9cda2b79
2 changed files with 4 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -31,8 +31,8 @@ ZERO_CHECK
|
||||||
*.lastbuildstate
|
*.lastbuildstate
|
||||||
*.sdf
|
*.sdf
|
||||||
*.opensdf
|
*.opensdf
|
||||||
Debug
|
Debug/
|
||||||
Release
|
Release/
|
||||||
|
|
||||||
CMakeFiles
|
CMakeFiles
|
||||||
Makefile
|
Makefile
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue