Kaydet (Commit) 9f2a9201 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #27776: include process.h on Windows for getpid()

üst 2740e460
...@@ -68,6 +68,9 @@ ...@@ -68,6 +68,9 @@
#include "Python.h" #include "Python.h"
#include <time.h> /* for seeding to current time */ #include <time.h> /* for seeding to current time */
#ifdef HAVE_PROCESS_H
# include <process.h> /* needed for getpid() */
#endif
/* Period parameters -- These are all magic. Don't change. */ /* Period parameters -- These are all magic. Don't change. */
#define N 624 #define N 624
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment