From 7e71e740e9ffda995fd6a8f9ecfc3fef6a87b386 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 Jun 2023 09:26:53 +0000 Subject: httpdate: fix build with Ruby 2.7 (at least) is still required for gmtime_r(3), and not all versions of include , already. Fixes: a6463151bd1db5b9 (httpdate: favor gettimeofday(2) over time(2) for correctness, 2023-06-01) --- ext/unicorn_http/httpdate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext') diff --git a/ext/unicorn_http/httpdate.c b/ext/unicorn_http/httpdate.c index 27a8f51..0faf5da 100644 --- a/ext/unicorn_http/httpdate.c +++ b/ext/unicorn_http/httpdate.c @@ -1,4 +1,5 @@ #include +#include #include #include -- cgit v1.2.3-24-ge0c7