Suppress warnings when include winsock2 that windows.h must be included first

pull/1612/head
Mike Black W9MDB 2024-09-12 17:52:46 -05:00
rodzic c58d46cfbe
commit 2b3000c21d
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -43,6 +43,7 @@
// to stop warnings about including winsock2.h before windows.h
#if defined(_WIN32)
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#else