Skip to content

Commit

Permalink
fix: undefined functions when compiling on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
sewbacca committed Jun 24, 2024
1 parent bb4fd73 commit e0b9731
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/term.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#ifdef _WIN32
# include <windows.h>
# include <locale.h>
# ifdef __MINGW32__
# include <conio.h>
# endif
#else
# include <termios.h>
# include <string.h>
Expand Down

0 comments on commit e0b9731

Please sign in to comment.