summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/mtrand/randomkit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/random/mtrand/randomkit.c b/numpy/random/mtrand/randomkit.c
index 6103d88ed..6d93a9c01 100644
--- a/numpy/random/mtrand/randomkit.c
+++ b/numpy/random/mtrand/randomkit.c
@@ -70,12 +70,12 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
-#include <time.h>
#include <limits.h>
#include <math.h>
#ifdef _WIN32
/* Windows */
+#include <time.h>
#include <sys/timeb.h>
#ifndef RK_NO_WINCRYPT
/* Windows crypto */
@@ -87,6 +87,7 @@
#endif
#else
/* Unix */
+#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#endif