diff options
| author | staphen <[email protected]> | 2021-12-29 16:23:32 -0500 |
|---|---|---|
| committer | staphen <[email protected]> | 2021-12-29 16:23:32 -0500 |
| commit | e80bc35a261af4f87c358f0264429bde9eb6116b (patch) | |
| tree | 8e7921b9e8545bb4be8ea44c0e8b903214d1971d /src | |
| parent | 41eb9aebc80a5f1c816fa26a06cefde9de906676 (diff) | |
Use lowercase when including Windows headers
Diffstat (limited to 'src')
| -rw-r--r-- | src/Controls.cpp | 2 | ||||
| -rw-r--r-- | src/Events.hpp | 2 | ||||
| -rw-r--r-- | src/NodeService.cpp | 6 | ||||
| -rw-r--r-- | src/NodeService.hpp | 2 | ||||
| -rw-r--r-- | src/VirtualTap.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/Controls.cpp b/src/Controls.cpp index 97a237c..536868f 100644 --- a/src/Controls.cpp +++ b/src/Controls.cpp @@ -27,7 +27,7 @@ using namespace ZeroTier; #ifdef __WINDOWS__ -#include <Windows.h> +#include <windows.h> WSADATA wsaData; #endif diff --git a/src/Events.hpp b/src/Events.hpp index f36b221..da911fc 100644 --- a/src/Events.hpp +++ b/src/Events.hpp @@ -23,7 +23,7 @@ #include "ZeroTierSockets.h" #ifdef __WINDOWS__ -#include <BaseTsd.h> +#include <basetsd.h> #endif /* Macro substitutions to standardize state checking of service, node, callbacks, and TCP/IP diff --git a/src/NodeService.cpp b/src/NodeService.cpp index 30a4d7d..26c1964 100644 --- a/src/NodeService.cpp +++ b/src/NodeService.cpp @@ -28,9 +28,9 @@ #include "VirtualTap.hpp" #if defined(__WINDOWS__) -#include <ShlObj.h> -#include <WinSock2.h> -#include <Windows.h> +#include <shlobj.h> +#include <winsock2.h> +#include <windows.h> #include <iphlpapi.h> #include <netioapi.h> #define stat _stat diff --git a/src/NodeService.hpp b/src/NodeService.hpp index 6e704dc..86be58a 100644 --- a/src/NodeService.hpp +++ b/src/NodeService.hpp @@ -44,7 +44,7 @@ #define ZT_LOCAL_INTERFACE_CHECK_INTERVAL 60000 #ifdef __WINDOWS__ -#include <Windows.h> +#include <windows.h> #endif namespace ZeroTier { diff --git a/src/VirtualTap.cpp b/src/VirtualTap.cpp index 757832c..a13dcbd 100644 --- a/src/VirtualTap.cpp +++ b/src/VirtualTap.cpp @@ -37,7 +37,7 @@ #include "VirtualTap.hpp" #if defined(__WINDOWS__) -#include "Synchapi.h" +#include "synchapi.h" #include <time.h> #endif |
