From 1e4cb3466230aa8b4f2e8e8936b240c7b98db486 Mon Sep 17 00:00:00 2001 From: John Hughes Date: Tue, 6 Mar 2001 09:25:46 +0000 Subject: [PATCH] fix compile on UW --- net.c | 6 ++++++ signal.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/net.c b/net.c index 85e0cc04..0c123e7f 100644 --- a/net.c +++ b/net.c @@ -219,12 +219,18 @@ static struct xlat socktypes[] = { { 0, NULL }, }; static struct xlat socketlayers[] = { +#if defined(SOL_IP) { SOL_IP, "SOL_IP" }, +#endif #if defined(SOL_ICMP) { SOL_ICMP, "SOL_ICMP" }, #endif +#if defined(SOL_TCP) { SOL_TCP, "SOL_TCP" }, +#endif +#if defined(SOL_UDP) { SOL_UDP, "SOL_UDP" }, +#endif #if defined(SOL_IPV6) { SOL_IPV6, "SOL_IPV6" }, #endif diff --git a/signal.c b/signal.c index 1b807d88..9f5d18ae 100644 --- a/signal.c +++ b/signal.c @@ -595,8 +595,8 @@ sys_sigaction(tcp) struct tcb *tcp; { long addr; - sigset_t sigset; #ifdef LINUX + sigset_t sigset; struct old_sigaction sa; #else struct sigaction sa; -- 2.40.0