make basename work
[rrdtool.git] / src / rrd_graph.c
index 8aa7156..a24889f 100644 (file)
@@ -6,6 +6,7 @@
 
 
 #include <sys/stat.h>
+#include <libgen.h>
 
 #ifdef WIN32
 #include "strftime.h"