Skip to content

Commit fd03917

Browse files
authored
bpo-45434: Include stdlib.h for specialize stat (GH-29015)
1 parent 54a4e1b commit fd03917

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/specialize.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#include "Python.h"
32
#include "pycore_code.h"
43
#include "pycore_dict.h"
@@ -8,6 +7,8 @@
87
#include "opcode.h"
98
#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
109

10+
#include <stdlib.h> // rand()
11+
1112
/* For guidance on adding or extending families of instructions see
1213
* ./adaptive.md
1314
*/

0 commit comments

Comments
 (0)