From 4bde84996eeaef4abfa5a208a3650e83f505902f Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 4 May 2008 18:54:57 +0000 Subject: [PATCH] make studio 11 happy ... http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38555 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@1337 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_getopt.c | 8 ++++---- program/src/rrd_getopt1.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/program/src/rrd_getopt.c b/program/src/rrd_getopt.c index b715ab03..281baf4e 100644 --- a/program/src/rrd_getopt.c +++ b/program/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/program/src/rrd_getopt1.c b/program/src/rrd_getopt1.c index 14e1e885..ddf81497 100644 --- a/program/src/rrd_getopt1.c +++ b/program/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 -- 2.30.2