diff options
author | David Cournapeau <cournape@gmail.com> | 2008-11-17 13:53:58 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-11-17 13:53:58 +0000 |
commit | c964b6ad6475445e0f78a91a05e6de2d81305168 (patch) | |
tree | ab43dffe0bcdafd7fabbadcf5e2298a37249f0d9 /numpy/random/mtrand/randomkit.c | |
parent | ea229684976538ea353908047ea2ca705c59aea1 (diff) | |
download | numpy-c964b6ad6475445e0f78a91a05e6de2d81305168.tar.gz |
Include time.h and sys/timeb.h just after defining our custom __MSVCRT_VERSION__ to avoid possible duplicate.
Diffstat (limited to 'numpy/random/mtrand/randomkit.c')
-rw-r--r-- | numpy/random/mtrand/randomkit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/mtrand/randomkit.c b/numpy/random/mtrand/randomkit.c index bff033064..b54b0e778 100644 --- a/numpy/random/mtrand/randomkit.c +++ b/numpy/random/mtrand/randomkit.c @@ -79,6 +79,8 @@ /* FIXME: ideally, we should set this to the real version of MSVCRT. We need * something higher than 0x601 to enable _ftime64 and co */ #define __MSVCRT_VERSION__ 0x0700 +#include <time.h> +#include <sys/timeb.h> /* mingw msvcr lib import wrongly export _ftime, which does not exist in the * actual msvc runtime for version >= 8; we make it an alias to _ftime64, which * is available in those versions of the runtime @@ -87,8 +89,6 @@ #else #define _FTIME(x) _ftime((x)) #endif -#include <time.h> -#include <sys/timeb.h> #ifndef RK_NO_WINCRYPT /* Windows crypto */ #ifndef _WIN32_WINNT |