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=4d3bdc2fb368a91d2cae832040c6e632fb553bde;p=rrdtool.git Move include so we know whether we HAVE_LIBGEN_H -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1869 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 594c9f6..1ea457b 100644 --- a/src/rrd_graph.c +++ b/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