From e2005fda57ea4da12754d67ba127b09508125395 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 10 Oct 2018 21:54:10 +0200 Subject: cross compiling struggles --- xxx/packages/ncurses-5.9/termios.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'xxx') diff --git a/xxx/packages/ncurses-5.9/termios.h b/xxx/packages/ncurses-5.9/termios.h index 98ae1b7..e38434d 100644 --- a/xxx/packages/ncurses-5.9/termios.h +++ b/xxx/packages/ncurses-5.9/termios.h @@ -25,7 +25,7 @@ struct __dirstream //https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/dirstream.h;h=8303f07fab6f6efaa39e51411ef924e712d995e0;hb=fa39685d5c7df2502213418bead44e9543a9b9ec }; -typedef uint32_t __ino_t; +//typedef uint32_t __ino_t; struct dirent { @@ -36,19 +36,19 @@ struct dirent char d_name[256]; /* We must not include limits.h! */ int d_namlen; }; -#define direct dirent +#define direct dirent typedef struct __dirstream DIR; #include - typedef unsigned char cc_t; typedef unsigned int speed_t; typedef unsigned int tcflag_t; #define NCCS 32 + struct termios { tcflag_t c_iflag; /* input mode flags */ @@ -242,8 +242,8 @@ struct termios #define _IOT_termios /* Hurd ioctl type field. */ \ _IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2) - int tcgetattr(int fd, struct termios *termios_p); - int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); + // int tcgetattr(int fd, struct termios *termios_p); + // int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); /** int tcsendbreak(int fd, int duration); @@ -254,13 +254,13 @@ struct termios int tcflow(int fd, int action); */ - void cfmakeraw(struct termios *termios_p); + // void cfmakeraw(struct termios *termios_p); /* speed_t cfgetispeed(const struct termios *termios_p); */ - speed_t cfgetospeed(const struct termios *termios_p); +// speed_t cfgetospeed(const struct termios *termios_p); /* int cfsetispeed(struct termios *termios_p, speed_t speed); -- cgit v1.2.3