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