diff --git a/httplib.h b/httplib.h index 7b07522005..1049cc2927 100644 --- a/httplib.h +++ b/httplib.h @@ -257,6 +257,7 @@ using socklen_t = int; #include #ifdef __linux__ #include +#undef _res // Undefine _res macro to avoid conflicts with user code (#2278) #endif #include #include