Code

make basename work
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 11 Nov 2008 16:36:45 +0000 (16:36 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 11 Nov 2008 16:36:45 +0000 (16:36 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1666 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.c

index 8aa71560b8c60ef554c00c50cc28d0bad2ca5ff8..a24889fb439458685b338b1cf50e4299d6f80316 100644 (file)
@@ -6,6 +6,7 @@
 
 
 #include <sys/stat.h>
+#include <libgen.h>
 
 #ifdef WIN32
 #include "strftime.h"