--- notcurses-3.0.16/src/compat/compat.h.orig	2025-10-05 12:22:18.032744000 +0200
+++ notcurses-3.0.16/src/compat/compat.h	2025-10-05 12:21:01.889082500 +0200
@@ -20,6 +20,13 @@
 #endif
 
 #ifdef  __MINGW32__
+struct termios {
+  unsigned int c_iflag;
+  unsigned int c_oflag;
+  unsigned int c_cflag;
+  unsigned int c_lflag;
+  unsigned char c_cc[32];
+};
 static inline char
 path_separator(void){
   return '\\';
