From: John Hughes Date: Tue, 27 Mar 2001 16:47:36 +0000 (+0000) Subject: Fix compile errors with SCO UDK compiler X-Git-Tag: v4.5.18~1069 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6156357814ce751cb0e82a88a4824c931b2e3d62;p=strace Fix compile errors with SCO UDK compiler --- diff --git a/ChangeLog b/ChangeLog index 250f170d..66af8ea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-03-27 John Hughes + + * net.c: Make compilable by SCO UDK compiler (doesn't like empty + initialisation list for array). + 2001-03-27 John Hughes * svr4/syscallent.h: ntp_adjtime entry was duplicated on Solaris diff --git a/net.c b/net.c index 082197da..e22056b3 100644 --- a/net.c +++ b/net.c @@ -276,6 +276,7 @@ static struct xlat socketlayers[] = { #if defined(SOL_IRDA) { SOL_IRDA, "SOL_IRDA" }, #endif + { SOL_SOCKET, "SOL_SOCKET" }, /* Never used! */ }; static struct xlat protocols[] = { { IPPROTO_IP, "IPPROTO_IP" },