http: Prevent Windows header leak from HTTPClient.

This commit is contained in:
Unknown W. Brackets committed 2021-01-09 14:45:03 -08:00
1 parent e00f894340
commit b60074f697
3 files changed
+8 -13

No files matched your search

-13
View File
@@ -7,19 +7,6 @@
#include "Common/Net/Resolve.h"
#ifdef _WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>
#endif
#include "Common/Buffer.h"
namespace net {