Includes <sys/mbuf.h> and <sys/ucred.h> but doesn't actually use them.

#if 0 these, possibly unbreaking build on Linux.
This commit is contained in:
shattered 2012-01-08 15:05:58 +00:00
parent 919ecad9a3
commit e1378e0ef7
2 changed files with 23 additions and 5 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.6 2007/12/01 13:03:27 rillig Exp $
$NetBSD: distinfo,v 1.7 2012/01/08 15:05:58 shattered Exp $
SHA1 (tcpd-tools-0.8.tar.gz) = fe2abe15bbf9062833af9bec3745c751a8aa06df
RMD160 (tcpd-tools-0.8.tar.gz) = 876842cbb37ca65d4b955718abd5ef5c14810dee
Size (tcpd-tools-0.8.tar.gz) = 468856 bytes
SHA1 (patch-aa) = 5122c3612164637bec300a6114fa5cc9afe05d8d
SHA1 (patch-aa) = 43f625fdca8fa89da88a9fc5f796455723b6ea7c
SHA1 (patch-ab) = 2c939882835b80d1fb11aa3bedc50eb80cefdf2e

View file

@ -1,7 +1,25 @@
$NetBSD: patch-aa,v 1.4 2007/12/01 13:03:27 rillig Exp $
$NetBSD: patch-aa,v 1.5 2012/01/08 15:05:58 shattered Exp $
--- tcpdpriv.c.orig 2000-04-18 09:59:19.000000000 +0200
+++ tcpdpriv.c 2007-12-01 14:02:20.000000000 +0100
--- tcpdpriv.c.orig 2000-04-18 07:59:19.000000000 +0000
+++ tcpdpriv.c
@@ -65,7 +65,7 @@
#endif /* defined(SVR4) */
#include <sys/param.h>
#include <sys/time.h>
-#if !defined(SVR4)
+#if 0
#include <sys/ucred.h>
#endif /* !defined(SVR4) */
#include <sys/mount.h>
@@ -78,7 +78,7 @@
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#if !defined(SVR4)
+#if 0
#include <sys/mbuf.h>
#endif /* !defined(SVR4) */
#include <netinet/in_systm.h>
@@ -90,7 +90,7 @@
#include <arpa/nameser.h>
#endif