diff --git a/src/net.cpp b/src/net.cpp index 5b3faea7..e92c659a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -12,6 +12,8 @@ #ifdef WIN32 #include +#else +#include #endif #ifdef USE_UPNP diff --git a/src/protocol.cpp b/src/protocol.cpp index 9933452d..16ad7468 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -8,6 +8,7 @@ #ifndef WIN32 # include +# include #endif // Prototypes from net.h, but that header (currently) stinks, can't #include it without breaking things diff --git a/src/protocol.h b/src/protocol.h index 53d3eef4..c8723fa3 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -10,6 +10,10 @@ #ifndef __INCLUDED_PROTOCOL_H__ #define __INCLUDED_PROTOCOL_H__ +#ifndef WIN32 +#include +#endif + #include "serialize.h" #include #include "uint256.h"