projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42812b1
)
Add missing "#include <stddef.h>" to fix the build on macOS
author
Maxim Khon
<fjoe@samodelkin.net>
Wed, 3 Jul 2024 13:37:28 +0000
(15:37 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 6 Jul 2024 11:02:24 +0000
(13:02 +0200)
... 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
patch
|
blob
|
history
diff --git
a/gateway.c
b/gateway.c
index
f2cc2ee
..
7b0412d
100644
(file)
--- 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