fix(termkey): include IO header on Windows

This commit is contained in:
Gregory Anders 2023-11-30 12:18:05 -06:00
parent 5999214c24
commit 50f5864dd2
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
# include <unistd.h> # include <unistd.h>
#else
# include <io.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -7,6 +7,8 @@
# include <poll.h> # include <poll.h>
# include <unistd.h> # include <unistd.h>
# include <strings.h> # include <strings.h>
#else
# include <io.h>
#endif #endif
#include <string.h> #include <string.h>