1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

term: Solaris headers

This commit is contained in:
fantassin 2020-03-18 23:07:43 -07:00 committed by GitHub
parent cc847f83a8
commit 5824d28a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,13 @@ module term
import os import os
#include <sys/ioctl.h> #include <sys/ioctl.h>
$if solaris
{
#include <unistd.h> // ioctl
#include <sys/termios.h> // TIOCGWINSZ
}
pub struct C.winsize { pub struct C.winsize {
pub: pub:
ws_row u16 ws_row u16