windows build fixes
This commit is contained in:
parent
3121af2ec4
commit
1d116f8fa8
15 changed files with 137 additions and 31 deletions
|
@ -3,7 +3,12 @@
|
|||
#include "cbor.hpp"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <netinet/in.h>
|
||||
#else
|
||||
#include <in6addr.h>
|
||||
#endif
|
||||
|
||||
namespace cbor {
|
||||
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <netinet/in.h>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <netinet/in.h>
|
||||
#else
|
||||
#include <in6addr.h>
|
||||
#endif
|
||||
|
||||
using port_t = unsigned short;
|
||||
|
||||
namespace thespian::tcp {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue