Annotation of pkgsrc/sysutils/lsof/patches/patch-af, revision 1.8
1.8 ! seb 1: $NetBSD: patch-af,v 1.7 2007/05/06 21:41:30 christos Exp $
1.2 atatat 2:
1.8 ! seb 3: --- dialects/n+obsd/dlsof.h.orig 2006-03-28 21:54:15.000000000 +0000
! 4: +++ dialects/n+obsd/dlsof.h
! 5: @@ -97,6 +97,10 @@ struct uio; /* dummy for function protot
! 6:
! 7: #include <sys/mount.h>
! 8:
! 9: +#if defined(NETBSDV) && !defined(MFSNAMELEN) && defined(_VFS_NAMELEN)
! 10: +#define MFSNAMELEN _VFS_NAMELEN
! 11: +#endif
! 12: +
! 13: # if (defined(OPENBSDV) && OPENBSDV>=3030) \
! 14: || (defined(NETBSDV) && __NetBSD_Version__>=106060000)
! 15: #undef _KERNEL
! 16: @@ -161,6 +165,7 @@ struct nameidata; /* to satisfy a functi
1.7 christos 17: #include <sys/socketvar.h>
18: #include <sys/un.h>
19: #include <sys/unpcb.h>
20: +#include <net/route.h>
21: #include <netinet/in.h>
22: #include <netinet/in_systm.h>
23: #include <netinet/ip.h>
1.8 ! seb 24: @@ -170,7 +175,6 @@ struct nameidata; /* to satisfy a functi
1.7 christos 25: #include <netinet6/in6_pcb.h>
26: # endif /* defined(HASIPv6) && defined(NETBSDV) && !defined(HASINRIAIPv6) */
27:
28: -#include <net/route.h>
29: #include <netinet/in_pcb.h>
30: #include <netinet/ip_var.h>
31: #include <netinet/tcp.h>
CVSweb <webmaster@jp.NetBSD.org>