Skip to content

Commit 47044c0

Browse files
authored
Fix compile error with MINGW-64 GCC-12.1.0 (yhirose#1283)
1 parent a449d82 commit 47044c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ using socket_t = SOCKET;
166166
#else // not _WIN32
167167

168168
#include <arpa/inet.h>
169-
#include <cstring>
170169
#include <ifaddrs.h>
171170
#include <net/if.h>
172171
#include <netdb.h>
@@ -190,6 +189,7 @@ using socket_t = int;
190189
#endif
191190
#endif //_WIN32
192191

192+
#include <cstring>
193193
#include <algorithm>
194194
#include <array>
195195
#include <atomic>

0 commit comments

Comments
 (0)