mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-12 08:06:35 -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
2
one.cpp
2
one.cpp
|
@ -26,6 +26,7 @@
|
|||
#include "node/Constants.hpp"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
// clang-format off
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
|
@ -40,6 +41,7 @@
|
|||
#include "windows/ZeroTierOne/ServiceInstaller.h"
|
||||
#include "windows/ZeroTierOne/ServiceBase.h"
|
||||
#include "windows/ZeroTierOne/ZeroTierOneService.h"
|
||||
// clang-format on
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue