mirror of https://github.com/python/cpython
gh-107279 Add `<stddef.h>` to `Modules/zlibmodule.c` to fix failing builds (#107280)
This commit is contained in:
parent
abec9a1b20
commit
4b2e54bd3c
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "zlib.h"
|
||||
#include "stdbool.h"
|
||||
#include <stddef.h> // offsetof()
|
||||
|
||||
#if defined(ZLIB_VERNUM) && ZLIB_VERNUM < 0x1221
|
||||
#error "At least zlib version 1.2.2.1 is required"
|
||||
|
|
Loading…
Reference in New Issue