summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 78c8b73..7e639d9 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -761,6 +761,7 @@ slv2_plugin_get_author_homepage(SLV2Plugin plugin)
return NULL;
}
+#ifdef SLV2_WITH_UI
SLV2_API
SLV2UIs
slv2_plugin_get_uis(SLV2Plugin p)
@@ -814,4 +815,4 @@ slv2_plugin_get_uis(SLV2Plugin p)
return NULL;
}
}
-
+#endif /* SLV2_WITH_UI */