summaryrefslogtreecommitdiffstats
path: root/src/socket_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index fc9116b..3b0499d 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -2383,7 +2383,9 @@ static int swrap_socket(int family, int type, int protocol)
case AF_INET6:
#endif
break;
+#ifdef AF_NETLINK
case AF_NETLINK:
+#endif /* AF_NETLINK */
case AF_UNIX:
return libc_socket(family, type, protocol);
default: