diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 22:36:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 22:36:06 +0000 |
commit | ec530c81efea6ddb1f75758658fd6769a29c3ade (patch) | |
tree | 2d8afdd2021666eaf854195ed0a32603b97044f5 /slirp | |
parent | 96b74a0221a7d552a4b3016af2b8bc87628fdab3 (diff) |
Solaris port (Ben Taylor)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1855 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/slirp_config.h | 3 | ||||
-rw-r--r-- | slirp/socket.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index a0795ef6b5..e7e95dd5a0 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -138,6 +138,9 @@ /* Define if you don't have u_int32_t etc. typedef'd */ #undef NEED_TYPEDEFS +#ifdef __sun__ +#define NEED_TYPEDEFS +#endif /* Define to sizeof(char) */ #define SIZEOF_CHAR 1 diff --git a/slirp/socket.c b/slirp/socket.c index fbd9e960d7..ce6528fc45 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -9,6 +9,9 @@ #include <slirp.h> #include "ip_icmp.h" #include "main.h" +#ifdef __sun__ +#include <sys/filio.h> +#endif void so_init() |