summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
#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>