Commit 893a95a8 authored by Andreas Schneider's avatar Andreas Schneider

swrap: Fix buliding on unix systems without AF_NETLINK

Signed-off-by: default avatarAndreas Schneider <asn@samba.org>
Reviewed-by: default avatarRalph Boehme <slow@samba.org>
parent 1f9ea967
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment