summaryrefslogtreecommitdiffstats
path: root/src/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-19 16:37:10 +0100
committerRoy Marples <roy@marples.name>2020-05-19 16:37:10 +0100
commit28431b6c769baa5aa1e4e08472ecbb3a2f27ca5f (patch)
treefc5d2091c875a365427eebfbab2e2afdb115b8b2 /src/if.c
parentc5445ce8235c153f4f184067ef58249f598d8629 (diff)
downloaddhcpcd-28431b6c769baa5aa1e4e08472ecbb3a2f27ca5f.tar.xz
Fix compile for prior on NetBSD
Diffstat (limited to 'src/if.c')
-rw-r--r--src/if.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/if.c b/src/if.c
index 627be05a..667819d2 100644
--- a/src/if.c
+++ b/src/if.c
@@ -884,9 +884,6 @@ xsocket(int domain, int type, int protocol)
#if !defined(HAVE_SOCK_CLOEXEC) || !defined(HAVE_SOCK_NONBLOCK)
int xflags, xtype = type;
#endif
-#ifdef SO_RERROR
- int on;
-#endif
#ifndef HAVE_SOCK_CLOEXEC
if (xtype & SOCK_CLOEXEC)