Skip to content
Snippets Groups Projects
Commit cf8d9ccd authored by Adrien Béraud's avatar Adrien Béraud
Browse files

infohash: merge Windows includes

parent fdbdc91d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment