summaryrefslogtreecommitdiffstats
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 7e63c85d0d..c92fcef736 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -860,7 +860,7 @@ struct plugin_api {
struct viewport *viewport);
void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw);
#endif
-#ifndef SIMULATOR
+#if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__)
int* __errno;
#endif
};