From f73e694f0ccd6a0cefe886a1d04f787cdaa84bf7 Mon Sep 17 00:00:00 2001 From: Prajwal B Mehendarkar Date: Fri, 23 Jan 2026 05:27:23 +0530 Subject: [PATCH] timegm api absent in AIX (#2336) --- httplib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httplib.h b/httplib.h index 4193a4f4..5e3b0f81 100644 --- a/httplib.h +++ b/httplib.h @@ -3547,6 +3547,8 @@ inline time_t parse_http_date(const std::string &date_str) { #ifdef _WIN32 return _mkgmtime(&tm_buf); +#elif defined _AIX + return mktime(&tm_buf); #else return timegm(&tm_buf); #endif