mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-16 10:03:14 -07:00
Windows build fixes from clang-format, disable for Windows include order
This commit is contained in:
parent
db6045fe9c
commit
16dd3fd7af
4 changed files with 11 additions and 14 deletions
|
@ -23,9 +23,11 @@
|
|||
|
||||
// For the struct sockaddr_storage structure
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#include <windows.h>
|
||||
// clang-format off
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <windows.h>
|
||||
// clang-format on
|
||||
#else /* not Windows */
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue