--- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -56,6 +56,7 @@ const char **); /* call rrd_graph and insert appropriate image tag */ +#ifdef HAVE_RRD_GRAPH char *drawgraph( long, const char **); @@ -64,6 +65,7 @@ char *drawprint( long, const char **); +#endif /* HAVE_RRD_GRAPH */ /* pretty-print the value for some.rrd via strftime() */ char *printtimelast( @@ -542,9 +544,13 @@ } parse(&buffer, i, "