From 7b1c5c95252e88af4640e37726ed5ce6ac0296bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 2 Jun 2016 17:25:14 -0400 Subject: [PATCH] infohash: merge Windows includes --- include/opendht/infohash.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/opendht/infohash.h b/include/opendht/infohash.h index 8b288ef6..19dbd2c7 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 -- GitLab