Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,13 @@ using ssize_t = long;
#define NOMINMAX
#endif // NOMINMAX

#include <afunix.h>
#include <io.h>
#include <winsock2.h>
#include <ws2tcpip.h>

// afunix.h uses types declared in winsock2.h, so has to be included after it.
#include <afunix.h>

#ifndef WSA_FLAG_NO_HANDLE_INHERIT
#define WSA_FLAG_NO_HANDLE_INHERIT 0x80
#endif
Expand Down