summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_randommodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c
index 1cf57ae..63759d5 100644
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -68,6 +68,9 @@
#include "Python.h"
#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. */
#define N 624