]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-107279 Add `<stddef.h>` to `Modules/zlibmodule.c` to fix failing builds (#107280)
authorshailshouryya <42100758+shailshouryya@users.noreply.github.com>
Thu, 27 Jul 2023 06:56:39 +0000 (23:56 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 06:56:39 +0000 (12:26 +0530)
Modules/zlibmodule.c

index 22da50989a88dcc154811699e48a3f72def14e5c..a98a37adadcff0292bf4f9055f19de0d579a14fd 100644 (file)
@@ -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"