Skip to content

Commit

Permalink
gh-106320: Fix specialize.c compilation by including pycore_pylifecyc…
Browse files Browse the repository at this point in the history
…le.h (#106434)

Compilation of Python/specialize.c was broken on macOS for me by gh-106400.
  • Loading branch information
gvanrossum authored Jul 4, 2023
1 parent eeb5c63 commit 17af982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python/specialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "pycore_opcode.h" // _PyOpcode_Caches
#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
#include "pycore_descrobject.h"
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()

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

Expand Down

0 comments on commit 17af982

Please sign in to comment.