aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs <thijs@thijsschreijer.nl>2024-06-24 20:21:37 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2024-06-25 08:36:52 +0200
commita7ed5242a797383b82bd48e1fe6fc20d544ed6e0 (patch)
tree949360d3db8c74e70878191975280274ba7bdeb0
parentbb4fd73c317cc88beb5e58c1abf52138abed107f (diff)
downloadluasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.tar.gz
luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.tar.bz2
luasystem-a7ed5242a797383b82bd48e1fe6fc20d544ed6e0.zip
fix(*): msys2 requires conio.h header
-rw-r--r--src/term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c
index d8cc38e..3db8d0c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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>