From 081da63d097dd5a1de360abd6dcf5c0eb01ecdfc Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 24 Dec 2009 17:07:20 +0000 Subject: Add support for errno in plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24109 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 3836d76..bd88da6 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -40,6 +40,7 @@ #include "version.h" #include "storage.h" #include "pcmbuf.h" +#include "errno.h" #if CONFIG_CHARGING #include "power.h" @@ -680,6 +681,7 @@ static const struct plugin_api rockbox_api = { viewportmanager_theme_enable, viewportmanager_theme_undo, #endif + &errno }; int plugin_load(const char* plugin, const void* parameter) -- cgit v1.1