Fix compile error with MINGW-64 GCC-12.1.0 (#1283)

pull/1284/head
Martín Córdova 3 months ago committed by GitHub
parent a449d82723
commit 47044c05a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      httplib.h

@ -166,7 +166,6 @@ using socket_t = SOCKET;
#else // not _WIN32
#include <arpa/inet.h>
#include <cstring>
#include <ifaddrs.h>
#include <net/if.h>
#include <netdb.h>
@ -190,6 +189,7 @@ using socket_t = int;
#endif
#endif //_WIN32
#include <cstring>
#include <algorithm>
#include <array>
#include <atomic>

Loading…
Cancel
Save