[Privoxy-commits] [privoxy] branch master updated: Add missing "#include <stddef.h>" to fix the build on macOS
User Git
git at git.privoxy.org
Sat Jul 6 13:02:15 CEST 2024
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
The following commit(s) were added to refs/heads/master by this push:
new b6d807f7 Add missing "#include <stddef.h>" to fix the build on macOS
b6d807f7 is described below
commit b6d807f76153fa487059c65cd15727704eadba8f
Author: Maxim Khon <fjoe at samodelkin.net>
AuthorDate: Wed Jul 3 15:37:28 2024 +0200
Add missing "#include <stddef.h>" 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.
---
gateway.c | 1 +
1 file changed, 1 insertion(+)
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 <stdio.h>
+#include <stddef.h>
#include <sys/types.h>
#ifndef _WIN32
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list