]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45434: Include stdlib.h for specialize stat (GH-29015)
authorDong-hee Na <donghee.na@python.org>
Mon, 18 Oct 2021 08:31:18 +0000 (17:31 +0900)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 08:31:18 +0000 (17:31 +0900)
Python/specialize.c

index 529eabf6bc3abf7531377ddfd5cc535e7d59f440..264637dc968561029b2118fbd07bc0b5c04c0890 100644 (file)
@@ -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
  */