mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Fix compilation error on OS X.
This commit is contained in:
parent
349fad4d2f
commit
76911be266
@ -993,7 +993,7 @@ static void slirp_add_redirs()
|
|||||||
static int slirp_add_redir(const char *redir_str)
|
static int slirp_add_redir(const char *redir_str)
|
||||||
{
|
{
|
||||||
// code adapted from qemu source
|
// code adapted from qemu source
|
||||||
struct in_addr guest_addr = { .s_addr = 0 };
|
struct in_addr guest_addr = {0};
|
||||||
int host_port, guest_port;
|
int host_port, guest_port;
|
||||||
const char *p;
|
const char *p;
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user