diff --git a/include/opendht/infohash.h b/include/opendht/infohash.h index 8b288ef622112e181897db1e7a458c670cfff0e5..19dbd2c7ebb89a8bfc09dc1261e39141d7fec98e 100644 --- a/include/opendht/infohash.h +++ b/include/opendht/infohash.h @@ -28,6 +28,7 @@ typedef uint16_t in_port_t; #endif #else +#include <iso646.h> #include <ws2tcpip.h> typedef uint16_t sa_family_t; typedef uint16_t in_port_t; @@ -41,9 +42,6 @@ typedef uint16_t in_port_t; #include <stdexcept> #include <cstring> -#ifdef _WIN32 -#include <iso646.h> -#endif // bytes #define HASH_LEN 20u