]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-top-half/musl/include/sys/ioctl.h
Update to musl 1.2.2.
[wasi-libc.git] / libc-top-half / musl / include / sys / ioctl.h
index 3877ca4bcb160ce80dbacd832b78d7e2cb86ce4c..cf3acb3ad842af6b30b01ebb74b1c8a6b2ac8596 100644 (file)
@@ -5,6 +5,8 @@
 extern "C" {
 #endif
 
+#define __NEED_struct_winsize
+
 #include <bits/alltypes.h>
 #include <bits/ioctl.h>
 
@@ -48,13 +50,6 @@ extern "C" {
 
 #define TIOCSER_TEMT 1
 
-struct winsize {
-       unsigned short ws_row;
-       unsigned short ws_col;
-       unsigned short ws_xpixel;
-       unsigned short ws_ypixel;
-};
-
 #define SIOCADDRT          0x890B
 #define SIOCDELRT          0x890C
 #define SIOCRTMSG          0x890D