Code

Move <libgen.h> include so we know whether we HAVE_LIBGEN_H -- kevin
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 10 Jul 2009 05:51:38 +0000 (05:51 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 10 Jul 2009 05:51:38 +0000 (05:51 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1869 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 594c9f6df525375f6dda0d5deea4d780c21172c2..1ea457b2c27e909ad903c629e5e531eef56cc369 100644 (file)
@@ -7,19 +7,19 @@
 
 #include <sys/stat.h>
 
-/* for basename */
-#ifdef HAVE_LIBGEN_H
-#  include <libgen.h>
-#eles
-#include "plbasename.h"
-#endif
-
 #ifdef WIN32
 #include "strftime.h"
 #endif
 
 #include "rrd_tool.h"
 
+/* for basename */
+#ifdef HAVE_LIBGEN_H
+#  include <libgen.h>
+#else
+#include "plbasename.h"
+#endif
+
 #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
 #include <io.h>
 #include <fcntl.h>