From 76911be2660753fb2d8330140f39926b5afafe7e Mon Sep 17 00:00:00 2001 From: Charles Lehner Date: Tue, 30 Oct 2012 09:34:10 -0400 Subject: [PATCH] Fix compilation error on OS X. --- BasiliskII/src/Unix/ether_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/Unix/ether_unix.cpp b/BasiliskII/src/Unix/ether_unix.cpp index a07f810e..526ee29c 100644 --- a/BasiliskII/src/Unix/ether_unix.cpp +++ b/BasiliskII/src/Unix/ether_unix.cpp @@ -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];