[rrd-developers] [PATCH] Move <libgen.h> include so we know whether we HAVE_LIBGEN_H.

kevin brintnall kbrint at rufus.net
Fri Jul 10 00:27:13 CEST 2009


---
 src/rrd_graph.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

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 <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>
-- 
1.6.3.1



More information about the rrd-developers mailing list