From: Tobias 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-Tag: 1.4.0~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3ed049948fc6495c257f2f12fe60fd3b79d007b;p=thirdparty%2Frrdtool-1.x.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 594c9f6d..1ea457b2 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