Code

load rrd_config.h before rrd_client.h since its content is expected to be present...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 11 Oct 2009 16:00:14 +0000 (16:00 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 11 Oct 2009 16:00:14 +0000 (16:00 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1935 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_client.c
program/src/rrd_client.h

index a4f1ba9c86fd8022db488da266547af6b8fba4f9..b018ee0aa4fc1d86c4c35a2eec47efdb9d5cb2af 100644 (file)
@@ -21,8 +21,8 @@
  **/
 
 #include "rrd.h"
-#include "rrd_client.h"
 #include "rrd_tool.h"
+#include "rrd_client.h"
 
 #include <stdlib.h>
 #include <string.h>
index 787c2b6d649dcec54f6e171b6eba40c5a9c1d251..6c48dec8e953823e147c66887ca6241b597f7373 100644 (file)
 #ifndef __RRD_CLIENT_H
 #define __RRD_CLIENT_H 1
 
-#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) && !defined(HAVE_CONFIG_H)
-#include "../win32/config.h"
-#else
-#ifdef HAVE_CONFIG_H
-#include "../rrd_config.h"
-#endif
-#endif
-
 #ifndef WIN32
 # ifdef HAVE_STDINT_H
 #  include <stdint.h>