#ifndef WIN32
# include <arpa/inet.h>
+# include <netinet/in.h>
#endif
// Prototypes from net.h, but that header (currently) stinks, can't #include it without breaking things
CInv::CInv(const std::string& strType, const uint256& hashIn)
{
- int i;
+ unsigned int i;
for (i = 1; i < ARRAYLEN(ppszTypeName); i++)
{
if (strType == ppszTypeName[i])