diff options
author | Thijs <thijs@thijsschreijer.nl> | 2024-06-24 20:21:37 +0200 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-06-25 08:36:52 +0200 |
commit | a7ed5242a797383b82bd48e1fe6fc20d544ed6e0 (patch) | |
tree | 949360d3db8c74e70878191975280274ba7bdeb0 | |
parent | bb4fd73c317cc88beb5e58c1abf52138abed107f (diff) | |
download | luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.zip |
fix(*): msys2 requires conio.h header
-rw-r--r-- | src/term.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -12,13 +12,14 @@ #include "compat.h" #include "bitflags.h" -#ifndef _MSC_VER -# include <unistd.h> -#endif #ifdef _WIN32 # include <windows.h> # include <locale.h> +# ifndef _MSC_VER +# include <conio.h> +# include <unistd.h> +# endif #else # include <termios.h> # include <string.h> |