diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-20 10:54:59 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-20 10:54:59 +0000 |
commit | 5bff3e3287501d494536b074a5c540c5be2e94bd (patch) | |
tree | adaf5164f25505b33410ffccaa8ca40ca6d59af3 /amiga/compat.h | |
parent | e34ed32685a8d5cda7e31942cfa091db62643b2e (diff) | |
download | netsurf-5bff3e3287501d494536b074a5c540c5be2e94bd.tar.gz netsurf-5bff3e3287501d494536b074a5c540c5be2e94bd.tar.bz2 |
Update for new SDK
svn path=/trunk/netsurf/; revision=5915
Diffstat (limited to 'amiga/compat.h')
-rwxr-xr-x | amiga/compat.h | 22 |
1 files changed, 21 insertions, 1 deletions
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 <sys/unistd.h> -#include <termios.h> #include <sys/utsname.h> +/* 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); |