From 5bff3e3287501d494536b074a5c540c5be2e94bd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Dec 2008 10:54:59 +0000 Subject: Update for new SDK svn path=/trunk/netsurf/; revision=5915 --- amiga/compat.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'amiga/compat.h') diff --git a/amiga/compat.h b/amiga/compat.h index ff418e161..c0064e11e 100755 --- a/amiga/compat.h +++ b/amiga/compat.h @@ -19,9 +19,29 @@ #ifndef AMIGA_COMPAT_H #define AMIGA_COMPAT_H //#include -#include #include +/* for termios.h compatiblity */ +typedef unsigned int tcflag_t; +typedef unsigned char cc_t; +typedef unsigned int speed_t; + +#define NCCS 16 + +struct termios { + tcflag_t c_iflag; + tcflag_t c_oflag; + tcflag_t c_cflag; + tcflag_t c_lflag; + cc_t c_cc[NCCS]; + /* Private */ + speed_t c_ispeed; + speed_t c_ospeed; + int type; + unsigned int flags; +}; +/**/ + extern gid_t getegid(void); extern uid_t geteuid(void); extern uid_t getuid(void); -- cgit v1.2.3