Import of pkgsrc-2014Q1
This commit is contained in:
13
net/mrt/patches/patch-lib_kernel_socket.c
Normal file
13
net/mrt/patches/patch-lib_kernel_socket.c
Normal file
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-lib_kernel_socket.c,v 1.1 2013/08/30 22:39:27 joerg Exp $
|
||||
|
||||
--- lib/kernel/socket.c.orig 2013-08-30 20:24:06.000000000 +0000
|
||||
+++ lib/kernel/socket.c
|
||||
@@ -976,7 +976,7 @@ recvmsgfrom (int sockfd, u_char *buffer,
|
||||
else
|
||||
#endif /* HAVE_IPV6 */
|
||||
switch (cmsg->cmsg_type) {
|
||||
-#ifdef IP_PKTINFO
|
||||
+#if defined(IP_PKTINFO) && !defined(__NetBSD__)
|
||||
case IP_PKTINFO:
|
||||
{
|
||||
struct in_pktinfo *info;
|
||||
Reference in New Issue
Block a user