diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-07-11 11:48:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 11:48:20 +0200 |
commit | 5dfdd28292c8e28b787eecd475c585a3fa2e379c (patch) | |
tree | f5ab0f14b5f9f445c7d556ba6a1e16d12e75bebd /src/term.c | |
parent | c832d2b857d4174d17247de837426d4cfc95ec2f (diff) | |
download | luasystem-5dfdd28292c8e28b787eecd475c585a3fa2e379c.tar.gz luasystem-5dfdd28292c8e28b787eecd475c585a3fa2e379c.tar.bz2 luasystem-5dfdd28292c8e28b787eecd475c585a3fa2e379c.zip |
fix(term): headers on yet another MinGW version (#30)
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,6 +19,7 @@ | |||
19 | # ifndef _MSC_VER | 19 | # ifndef _MSC_VER |
20 | # include <conio.h> | 20 | # include <conio.h> |
21 | # include <unistd.h> | 21 | # include <unistd.h> |
22 | # include <stddef.h> | ||
22 | # endif | 23 | # endif |
23 | #else | 24 | #else |
24 | # include <termios.h> | 25 | # include <termios.h> |
@@ -27,9 +28,9 @@ | |||
27 | # include <fcntl.h> | 28 | # include <fcntl.h> |
28 | # include <sys/ioctl.h> | 29 | # include <sys/ioctl.h> |
29 | # include <unistd.h> | 30 | # include <unistd.h> |
30 | # include <wchar.h> | ||
31 | # include <locale.h> | 31 | # include <locale.h> |
32 | #endif | 32 | #endif |
33 | #include <wchar.h> | ||
33 | 34 | ||
34 | 35 | ||
35 | // Windows does not have a wcwidth function, so we use compatibilty code from | 36 | // Windows does not have a wcwidth function, so we use compatibilty code from |