Code

rrd_open: include rrd_tool.h at the very start so that utime.h gets included if...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 2 Jun 2010 04:49:53 +0000 (04:49 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 2 Jun 2010 04:49:53 +0000 (04:49 +0000)
got set by configure. -- Antoine MUSSO

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2085 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_open.c

index 9f4f6e2758a9095c657f2a19c90fcf1f3008d888..78d517458861a5fac58b5e9e9064fcf43f12e537 100644 (file)
@@ -6,19 +6,21 @@
  * $Id$
  *****************************************************************************/
 
+#include "rrd_tool.h"
+#include "unused.h"
+
 #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
 
-#include "rrd_tool.h"
-#include "unused.h"
 #define MEMBLK 8192
 
 #ifdef WIN32