diff --git a/httplib.h b/httplib.h index d380af0..12c7b85 100644 --- a/httplib.h +++ b/httplib.h @@ -172,7 +172,9 @@ using socket_t = SOCKET; #else // not _WIN32 #include +#ifndef _AIX #include +#endif #include #include #include @@ -2720,7 +2722,7 @@ inline bool bind_ip_address(socket_t sock, const std::string &host) { return ret; } -#if !defined _WIN32 && !defined ANDROID +#if !defined _WIN32 && !defined ANDROID && !defined _AIX #define USE_IF2IP #endif