From: Maxim Khon Date: Wed, 3 Jul 2024 13:37:28 +0000 (+0200) Subject: Add missing "#include " to fix the build on macOS X-Git-Url: http://www.privoxy.org/gitweb/team/%40user-manual%40%40actions-help-prefix%40HANDLE-AS-IMAGE?a=commitdiff_plain;h=b6d807f76153fa487059c65cd15727704eadba8f;p=privoxy.git Add missing "#include " to fix the build on macOS ... after 19d7684ca10f. Prevents: gateway.c:845:18: error: call to undeclared function 'offsetof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Fixes SF#150. --- diff --git a/gateway.c b/gateway.c index f2cc2ee1..7b0412dd 100644 --- a/gateway.c +++ b/gateway.c @@ -37,6 +37,7 @@ #include "config.h" #include +#include #include #ifndef _WIN32