Windows build fixes from clang-format, disable for Windows include order

This commit is contained in:
Adam Ierymenko 2025-07-08 15:11:57 -04:00
parent db6045fe9c
commit 16dd3fd7af
4 changed files with 11 additions and 14 deletions

View file

@ -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>