windows needs io.h for _isatty()

This commit is contained in:
Axel Kohlmeyer
2021-09-07 10:21:00 -04:00
parent ea34571da1
commit 3f83c8397d

View File

@ -55,7 +55,9 @@
#include <cstring> #include <cstring>
#include <map> #include <map>
#if !defined(_WIN32) #if defined(_WIN32)
#include <io.h>
#else
#include <unistd.h> // for isatty() #include <unistd.h> // for isatty()
#endif #endif