diff --git a/src/conio/ciolib.h b/src/conio/ciolib.h index 602c14331894f7d650b2e73900d12903d4029fb9..0cac90b6c9084e3545c151936747b9f524093279 100644 --- a/src/conio/ciolib.h +++ b/src/conio/ciolib.h @@ -41,6 +41,16 @@ #include "gen_defs.h" #include "utf8_codepages.h" +#ifndef _WIN32 + /* This is included because it seems openSUSE Leap-15.2 apparently contains this: + * #define ESCDELAY _nc_ESCDELAY. + * which means we need to not set the ESCDELAY member (because we can't), or we + * need to rename the member to _nc_ESCDELAY. Do the second because it's very + * *very* slightly less stupid. + */ + #include "curs_fix.h" +#endif + #ifdef CIOLIBEXPORT #undef CIOLIBEXPORT #endif