Add support for MinGW on Windows
This commit is contained in:
parent
9cd1d1e8d3
commit
9ebc9a7d76
@ -17,6 +17,9 @@
|
|||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
#ifndef FIONREAD
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// Macros for VT100 codes
|
// Macros for VT100 codes
|
||||||
#define CLEAR_SCR() printf("\033[2J") // Clear Screen
|
#define CLEAR_SCR() printf("\033[2J") // Clear Screen
|
||||||
|
Loading…
Reference in New Issue
Block a user