|
@@ -8,6 +8,7 @@ extern "C" {
|
|
|
#include <features.h>
|
|
|
|
|
|
#define __NEED_pid_t
|
|
|
+#define __NEED_struct_winsize
|
|
|
|
|
|
#include <bits/alltypes.h>
|
|
|
|
|
@@ -15,13 +16,6 @@ typedef unsigned char cc_t;
|
|
|
typedef unsigned int speed_t;
|
|
|
typedef unsigned int tcflag_t;
|
|
|
|
|
|
-struct winsize {
|
|
|
- unsigned short ws_row;
|
|
|
- unsigned short ws_col;
|
|
|
- unsigned short ws_xpixel;
|
|
|
- unsigned short ws_ypixel;
|
|
|
-};
|
|
|
-
|
|
|
#define NCCS 32
|
|
|
|
|
|
#include <bits/termios.h>
|