summaryrefslogtreecommitdiff
blob: 6b3a3abf26bb2ae05c1bf08edb9b9d47adbce32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/bindings/lua/rrdlua.c
+++ b/bindings/lua/rrdlua.c
@@ -367,7 +367,9 @@
 #if defined(DINF)
   {"info", lua_rrd_info},
   {"updatev", lua_rrd_updatev},
+#ifdef HAVE_RRD_GRAPH
   {"graphv", lua_rrd_graphv},
+#endif /* HAVE_RRD_GRAPH */
 #endif
   {NULL, NULL}
 };