summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand/randomkit.c
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-11-14 16:52:18 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-11-14 16:52:18 +0000
commita27c31aad71fd2e7f23f0a3bded0c243d0ead7ad (patch)
tree65c39a0de947991bbe0c851703df7243556f8298 /numpy/random/mtrand/randomkit.c
parent974b3909cebd8c3347090cc3783700448bf9c0b9 (diff)
downloadnumpy-a27c31aad71fd2e7f23f0a3bded0c243d0ead7ad.tar.gz
Postpone time.h include because we will need to customize it on windows.
Diffstat (limited to 'numpy/random/mtrand/randomkit.c')
-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