Skip to content

Commit 4b2e54b

Browse files
gh-107279 Add <stddef.h> to Modules/zlibmodule.c to fix failing builds (#107280)
1 parent abec9a1 commit 4b2e54b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/zlibmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "zlib.h"
99
#include "stdbool.h"
10+
#include <stddef.h> // offsetof()
1011

1112
#if defined(ZLIB_VERNUM) && ZLIB_VERNUM < 0x1221
1213
#error "At least zlib version 1.2.2.1 is required"

0 commit comments

Comments
 (0)