aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/funcvars.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/funcvars.c')
-rw-r--r--src/blogc/funcvars.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blogc/funcvars.c b/src/blogc/funcvars.c
index a3af274..8524568 100644
--- a/src/blogc/funcvars.c
+++ b/src/blogc/funcvars.c
@@ -19,8 +19,12 @@ static const struct func_map {
const char *variable;
const blogc_funcvars_func_t func;
} funcs[] = {
+
+#ifdef HAVE_RUSAGE
{"BLOGC_RUSAGE_CPU_TIME", blogc_rusage_cpu_time},
{"BLOGC_RUSAGE_MEMORY", blogc_rusage_memory},
+#endif
+
{NULL, NULL},
};