95aa71
diff -ru vim-8.2.4230.orig/src/libvterm/src/vterm_internal.h vim-8.2.4230/src/libvterm/src/vterm_internal.h
95aa71
--- vim-8.2.4230.orig/src/libvterm/src/vterm_internal.h	2022-01-27 16:04:22.000000000 +0100
95aa71
+++ vim-8.2.4230/src/libvterm/src/vterm_internal.h	2022-01-27 17:07:13.522370456 +0100
95aa71
@@ -5,7 +5,7 @@
95aa71
 
95aa71
 #include <stdarg.h>
95aa71
 
95aa71
-#if defined(__GNUC__) && !defined(__MINGW32__)
95aa71
+#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__midipix__)
95aa71
 # define INTERNAL __attribute__((visibility("internal")))
95aa71
 # define UNUSED __attribute__((unused))
95aa71
 #else