mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
infohash: merge Windows includes
This commit is contained in:
1 parent
c8fd11d0d0
commit
7b1c5c9525
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user