Add include for ntohl() on linux
This commit is contained in:
parent
59d3e80fb7
commit
8ef1c4e0a7
1 changed files with 3 additions and 1 deletions
|
|
@ -3,8 +3,10 @@
|
||||||
#include <fc/network/resolve.hpp>
|
#include <fc/network/resolve.hpp>
|
||||||
#include <fc/network/ip.hpp>
|
#include <fc/network/ip.hpp>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32)
|
||||||
# include <WinSock2.h> // for ntohl()
|
# include <WinSock2.h> // for ntohl()
|
||||||
|
#elif defined(__linux__)
|
||||||
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue