From: oetiker Date: Fri, 10 Jul 2009 05:51:38 +0000 (+0000) Subject: Move include so we know whether we HAVE_LIBGEN_H -- kevin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2d9152490811d3ee2a10d190739c77d8889092a3;p=rrdtool-all.git Move include so we know whether we HAVE_LIBGEN_H -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1869 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 594c9f6d..1ea457b2 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -7,19 +7,19 @@ #include -/* for basename */ -#ifdef HAVE_LIBGEN_H -# include -#eles -#include "plbasename.h" -#endif - #ifdef WIN32 #include "strftime.h" #endif #include "rrd_tool.h" +/* for basename */ +#ifdef HAVE_LIBGEN_H +# include +#else +#include "plbasename.h" +#endif + #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) #include #include