diff options
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index bd88da6647..642ddff441 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -681,7 +681,9 @@ static const struct plugin_api rockbox_api = { | |||
681 | viewportmanager_theme_enable, | 681 | viewportmanager_theme_enable, |
682 | viewportmanager_theme_undo, | 682 | viewportmanager_theme_undo, |
683 | #endif | 683 | #endif |
684 | #ifndef SIMULATOR | ||
684 | &errno | 685 | &errno |
686 | #endif | ||
685 | }; | 687 | }; |
686 | 688 | ||
687 | int plugin_load(const char* plugin, const void* parameter) | 689 | int plugin_load(const char* plugin, const void* parameter) |
diff --git a/apps/plugin.h b/apps/plugin.h index 0a9b8a9a50..7e63c85d0d 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -135,7 +135,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
135 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 135 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
136 | 136 | ||
137 | /* increase this every time the api struct changes */ | 137 | /* increase this every time the api struct changes */ |
138 | #define PLUGIN_API_VERSION 178 | 138 | #define PLUGIN_API_VERSION 179 |
139 | 139 | ||
140 | /* update this to latest version if a change to the api struct breaks | 140 | /* update this to latest version if a change to the api struct breaks |
141 | backwards compatibility (and please take the opportunity to sort in any | 141 | backwards compatibility (and please take the opportunity to sort in any |
@@ -860,7 +860,9 @@ struct plugin_api { | |||
860 | struct viewport *viewport); | 860 | struct viewport *viewport); |
861 | void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw); | 861 | void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw); |
862 | #endif | 862 | #endif |
863 | #ifndef SIMULATOR | ||
863 | int* __errno; | 864 | int* __errno; |
865 | #endif | ||
864 | }; | 866 | }; |
865 | 867 | ||
866 | /* plugin header */ | 868 | /* plugin header */ |