Skip to content

Commit

Permalink
fix(*): msys2 requires conio.h header
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jun 24, 2024
1 parent bb4fd73 commit 38c880f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/term.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 38c880f

Please sign in to comment.