Only include libgen.h when we have it. use pbbasename if we do not. Also fixes #223.
[rrdtool.git] / src / rrd_graph.h
index f029fd1..0593d4a 100644 (file)
 #include <cairo-ps.h>
 #include <pango/pangocairo.h>
 
-#ifdef HAVE_LIBGEN_H
-/* for basename */
-#  include <libgen.h>
-#endif
 
 #include "rrd_tool.h"
 #include "rrd_rpncalc.h"