summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorJohn Hughes <john@Calva.COM>2001-03-06 09:25:46 +0000
committerJohn Hughes <john@Calva.COM>2001-03-06 09:25:46 +0000
commit1e4cb3466230aa8b4f2e8e8936b240c7b98db486 (patch)
tree395df1ace0da1ce143775c000dd58ff2724108ac /net.c
parentfa30618c22c58ca26d9cb89bd297197ed99cc30f (diff)
downloadstrace-1e4cb3466230aa8b4f2e8e8936b240c7b98db486.tar.gz
strace-1e4cb3466230aa8b4f2e8e8936b240c7b98db486.tar.bz2
strace-1e4cb3466230aa8b4f2e8e8936b240c7b98db486.tar.xz
fix compile on UW
Diffstat (limited to 'net.c')
-rw-r--r--net.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net.c b/net.c
index 85e0cc0..0c123e7 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