Skip to content

Commit 8473d88

Browse files
authored
fix compile-time warning on windows rtools42 (#5395)
1 parent 4b16a7f commit 8473d88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fread.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "fread.h"
2+
// include fread.h should happen before include time.h to avoid compilation warning on windows about re-defining __USE_MINGW_ANSI_STDIO, PR#5395.
13
#if defined(CLOCK_REALTIME) && !defined(DISABLE_CLOCK_REALTIME)
24
#define HAS_CLOCK_REALTIME
35
#endif
@@ -24,7 +26,6 @@
2426
#include <math.h> // ceil, sqrt, isfinite
2527
#endif
2628
#include <stdbool.h>
27-
#include "fread.h"
2829
#include "freadLookups.h"
2930

3031
// Private globals to save passing all of them through to highly iterated field processors

0 commit comments

Comments
 (0)