summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6ef8623..4ba1396 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -609,10 +609,12 @@ static const struct plugin_api rockbox_api = {
thread_thaw,
-#if (CONFIG_CODEC == SWCODEC)
+#ifdef HAVE_SEMAPHORE_OBJECTS
semaphore_init,
semaphore_wait,
semaphore_release,
+#endif
+#ifdef HAVE_EVENT_OBJECTS
event_init,
event_wait,
event_set_state,