mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +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)
|
||||
{
|
||||
// code adapted from qemu source
|
||||
struct in_addr guest_addr = { .s_addr = 0 };
|
||||
struct in_addr guest_addr = {0};
|
||||
int host_port, guest_port;
|
||||
const char *p;
|
||||
char buf[256];
|
||||
|
Loading…
Reference in New Issue
Block a user