diff options
author | David Cournapeau <cournape@gmail.com> | 2008-11-14 16:52:18 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-11-14 16:52:18 +0000 |
commit | a27c31aad71fd2e7f23f0a3bded0c243d0ead7ad (patch) | |
tree | 65c39a0de947991bbe0c851703df7243556f8298 /numpy/random/mtrand/randomkit.c | |
parent | 974b3909cebd8c3347090cc3783700448bf9c0b9 (diff) | |
download | numpy-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.c | 3 |
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 |