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/branches/1.4/program@2085 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_open.c

index 9f4f6e2758a9095c657f2a19c90fcf1f3008d888..39de55a1ac7cc1db85c14a6921d34dc62d2a31dc 100644 (file)
@@ -6,6 +6,9 @@
  * $Id$
  *****************************************************************************/
 
+#include "rrd_tool.h"
+#include "unused.h"
+
 #ifdef WIN32
 #include <stdlib.h>
 #include <fcntl.h>
@@ -17,8 +20,6 @@
 #include <utime.h>
 #endif
 
-#include "rrd_tool.h"
-#include "unused.h"
 #define MEMBLK 8192
 
 #ifdef WIN32