commit | fd03917786a9036ee87b7df604dfb260cc2420c9 | [log] [tgz] |
---|---|---|
author | Dong-hee Na <donghee.na@python.org> | Mon Oct 18 17:31:18 2021 +0900 |
committer | GitHub <noreply@github.com> | Mon Oct 18 17:31:18 2021 +0900 |
tree | c54d0fc5e40ff0a0b5eb068daeb0c4fb3d5ed735 | |
parent | 54a4e1b53a18f0c7420ba03de9608194c4413fc2 [diff] |
bpo-45434: Include stdlib.h for specialize stat (GH-29015)
diff --git a/Python/specialize.c b/Python/specialize.c index 529eabf..264637d 100644 --- a/Python/specialize.c +++ b/Python/specialize.c
@@ -1,4 +1,3 @@ - #include "Python.h" #include "pycore_code.h" #include "pycore_dict.h" @@ -8,6 +7,8 @@ #include "opcode.h" #include "structmember.h" // struct PyMemberDef, T_OFFSET_EX +#include <stdlib.h> // rand() + /* For guidance on adding or extending families of instructions see * ./adaptive.md */