Merge pull request #51 from trha/master
Add support for MinGW on Windows
This commit is contained in:
commit
db35451d57
@ -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