Commit c835e01
test/fuzz: include util.h before json.h in fuzz_metadata
json.h includes httpd.h directly, so with the includes sorted
alphabetically Apache's empty PACKAGE_* defines from ap_config_auto.h
land before config.h's real ones and the redefinition trips -Werror in
the CI build job's warning flags (the local default configure carries no
-Werror, which is how it slipped through). Same race and same
clang-format guard as fuzz_cookie.c, which documents it for http.h.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent d642055 commit c835e01
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | | - | |
25 | 31 | | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments