diff options
author | Timothy Redaelli <timothy.redaelli@gmail.com> | 2012-04-25 14:07:24 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-27 10:41:52 -0400 |
commit | 282e3ffe6e292ed6b11bc71414420de052193757 (patch) | |
tree | 7ba8ba259ad782a20e8f795a456f5d3c4f202163 /src/protocol.h | |
parent | c21121752d95ee241eb616a9b958fc662c874803 (diff) | |
download | bitcoin-282e3ffe6e292ed6b11bc71414420de052193757.tar.xz |
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 53d3eef4d5..6db64900f2 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -10,6 +10,10 @@ #ifndef __INCLUDED_PROTOCOL_H__ #define __INCLUDED_PROTOCOL_H__ +#ifndef __WXMSW__ +#include <netinet/in.h> +#endif + #include "serialize.h" #include <string> #include "uint256.h" |