diff --git a/src/http.c b/src/http.c index 3fb5f06..f9cee75 100644 --- a/src/http.c +++ b/src/http.c @@ -9,6 +9,13 @@ #include "vec.h" +#ifdef _WIN32 + #define stricmp _stricmp +#else + #include // strcasecmp + #define stricmp strcasecmp +#endif + // == INTERNAL ================================================================ static void _setField(vec(http_field_t) *fields_vec, const char *key, const char *value) {