Update for new SDK

svn path=/trunk/netsurf/; revision=5942
This commit is contained in:
Chris Young 2008-12-28 13:49:26 +00:00
parent 59f551171c
commit c059f24cfa
2 changed files with 4 additions and 22 deletions

View File

@ -49,7 +49,7 @@ void jpeg_destroy_compress(void)
{ {
/* dummy */ /* dummy */
} }
/*
int uname(struct utsname *uts) int uname(struct utsname *uts)
{ {
struct Library *VersionBase; struct Library *VersionBase;
@ -75,7 +75,7 @@ int uname(struct utsname *uts)
strcpy(uts->machine,"ppc"); strcpy(uts->machine,"ppc");
} }
*/
uid_t geteuid(void) uid_t geteuid(void)
{ {
return 0; return 0;

View File

@ -18,29 +18,12 @@
#ifndef AMIGA_COMPAT_H #ifndef AMIGA_COMPAT_H
#define AMIGA_COMPAT_H #define AMIGA_COMPAT_H
//#include <sys/unistd.h>
#include <sys/utsname.h> #include <sys/utsname.h>
/* for termios.h compatiblity */ /* for termios.h compatiblity */
typedef unsigned int tcflag_t;
typedef unsigned char cc_t;
typedef unsigned int speed_t;
#define NCCS 16
struct termios { struct termios {
tcflag_t c_iflag; /* dummy */
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 gid_t getegid(void);
extern uid_t geteuid(void); extern uid_t geteuid(void);
@ -49,7 +32,6 @@ extern gid_t getgid(void);
extern int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p); extern int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p);
extern int tcgetattr(int fildes, struct termios *termios_p); extern int tcgetattr(int fildes, struct termios *termios_p);
//char *strndup(const char *,size_t);
extern int strcasecmp(const char *, const char *); extern int strcasecmp(const char *, const char *);
extern int uname(struct utsname *); //extern int uname(struct utsname *);
#endif #endif