Skip to content

Commit 17af982

Browse files
authored
gh-106320: Fix specialize.c compilation by including pycore_pylifecycle.h (#106434)
Compilation of Python/specialize.c was broken on macOS for me by gh-106400.
1 parent eeb5c63 commit 17af982

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/specialize.c

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "pycore_opcode.h" // _PyOpcode_Caches
1010
#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
1111
#include "pycore_descrobject.h"
12+
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
1213

1314
#include <stdlib.h> // rand()
1415

0 commit comments

Comments
 (0)