From: oetiker Date: Sun, 4 May 2008 18:54:57 +0000 (+0000) Subject: make studio 11 happy ... http://www.netbsd.org/cgi-bin/query-pr-single.pl?number... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a442d972d6764172a264bedd2ac32786069957c7;p=rrdtool.git make studio 11 happy ... netbsd.org/cgi-bin/query-pr-single.pl?number=38555 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1337 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c index b715ab0..281baf4 100644 --- a/src/rrd_getopt.c +++ b/src/rrd_getopt.c @@ -30,10 +30,6 @@ #define _NO_PROTO #endif -#ifdef HAVE_CONFIG_H -#include "../rrd_config.h" -#endif - #if !defined (__STDC__) || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ @@ -42,6 +38,10 @@ #endif #endif +#ifdef HAVE_CONFIG_H +#include "../rrd_config.h" +#endif + #include /* Comment out all this code if we are using the GNU C Library, and are not diff --git a/src/rrd_getopt1.c b/src/rrd_getopt1.c index 14e1e88..ddf8149 100644 --- a/src/rrd_getopt1.c +++ b/src/rrd_getopt1.c @@ -19,12 +19,6 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifdef HAVE_CONFIG_H -#include "../rrd_config.h" -#endif - -#include "rrd_getopt.h" - #if !defined (__STDC__) || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ @@ -33,6 +27,12 @@ #endif #endif +#ifdef HAVE_CONFIG_H +#include "../rrd_config.h" +#endif + +#include "rrd_getopt.h" + #include /* Comment out all this code if we are using the GNU C Library, and are not