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 /src | |
parent | bb4fd73c317cc88beb5e58c1abf52138abed107f (diff) | |
download | luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.tar.gz luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.tar.bz2 luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.zip |
fix(*): msys2 requires conio.h header
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -12,13 +12,14 @@ | |||
12 | #include "compat.h" | 12 | #include "compat.h" |
13 | #include "bitflags.h" | 13 | #include "bitflags.h" |
14 | 14 | ||
15 | #ifndef _MSC_VER | ||
16 | # include <unistd.h> | ||
17 | #endif | ||
18 | 15 | ||
19 | #ifdef _WIN32 | 16 | #ifdef _WIN32 |
20 | # include <windows.h> | 17 | # include <windows.h> |
21 | # include <locale.h> | 18 | # include <locale.h> |
19 | # ifndef _MSC_VER | ||
20 | # include <conio.h> | ||
21 | # include <unistd.h> | ||
22 | # endif | ||
22 | #else | 23 | #else |
23 | # include <termios.h> | 24 | # include <termios.h> |
24 | # include <string.h> | 25 | # include <string.h> |