projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rrd_open: include rrd_tool.h at the very start so that utime.h gets included if...
[rrdtool.git]
/
src
/
rrd_open.c
diff --git
a/src/rrd_open.c
b/src/rrd_open.c
index
9f4f6e2
..
78d5174
100644
(file)
--- a/
src/rrd_open.c
+++ b/
src/rrd_open.c
@@
-6,19
+6,21
@@
* $Id$
*****************************************************************************/
* $Id$
*****************************************************************************/
+#include "rrd_tool.h"
+#include "unused.h"
+
#ifdef WIN32
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
#endif
#ifdef WIN32
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
#endif
+
#ifdef HAVE_BROKEN_MS_ASYNC
#include <sys/types.h>
#include <utime.h>
#endif
#ifdef HAVE_BROKEN_MS_ASYNC
#include <sys/types.h>
#include <utime.h>
#endif
-#include "rrd_tool.h"
-#include "unused.h"
#define MEMBLK 8192
#ifdef WIN32
#define MEMBLK 8192
#ifdef WIN32