mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-27 02:49:42 +00:00
slight updates for win32...
This commit is contained in:
parent
f0d77218c8
commit
08b783d52b
@ -20,11 +20,11 @@ int slirp_select_fill(int *pnfds,
|
|||||||
|
|
||||||
void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds);
|
void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds);
|
||||||
|
|
||||||
void slirp_input(const uint8_t *pkt, int pkt_len);
|
void slirp_input(const uint8 *pkt, int pkt_len);
|
||||||
|
|
||||||
/* you must provide the following functions: */
|
/* you must provide the following functions: */
|
||||||
int slirp_can_output(void);
|
int slirp_can_output(void);
|
||||||
void slirp_output(const uint8_t *pkt, int pkt_len);
|
void slirp_output(const uint8 *pkt, int pkt_len);
|
||||||
|
|
||||||
int slirp_redir(int is_udp, int host_port,
|
int slirp_redir(int is_udp, int host_port,
|
||||||
struct in_addr guest_addr, int guest_port);
|
struct in_addr guest_addr, int guest_port);
|
||||||
|
@ -86,6 +86,11 @@ typedef unsigned char u_int8_t;
|
|||||||
# endif
|
# endif
|
||||||
#endif /* NEED_TYPEDEFS */
|
#endif /* NEED_TYPEDEFS */
|
||||||
|
|
||||||
|
/* Basilisk II types glue */
|
||||||
|
typedef u_int8_t uint8;
|
||||||
|
typedef u_int16_t uint16;
|
||||||
|
typedef u_int32_t uint32;
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user