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

sockaddr: add missing include for Win32

parent a56bf3f1
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,11 @@
#ifndef _WIN32
#include <sys/socket.h>
#else
#include <iso646.h>
#include <ws2def.h>
#include <ws2tcpip.h>
typedef uint16_t sa_family_t;
typedef uint16_t in_port_t;
#endif
namespace dht {
......
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