windows build fixes

This commit is contained in:
CJ van den Berg 2024-06-05 20:32:30 +02:00
parent 3121af2ec4
commit 1d116f8fa8
15 changed files with 137 additions and 31 deletions

View file

@ -9,9 +9,15 @@
#include <thespian/tcp.hpp>
#include <cstring>
#include <map>
#include <utility>
#if defined(_WIN32)
#include <winsock2.h>
#include <in6addr.h>
#include <ws2ipdef.h>
#include <ws2tcpip.h>
#endif
using cbor::any;
using cbor::buffer;
using cbor::extract;