summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-print_udp.c
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-02-18 17:57:17 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-02-18 17:57:17 +0000
commit8759718fa94af43a9e177fe33fb5bdabc0f1b338 (patch)
tree9bf4a1773dbbdb804837277638f52ed4e36cab5a /net/tcpview/files/patch-print_udp.c
parentFix dependency on XFree86-4-libraries after Xft was removed from that port. (diff)
Fix build noticed by bento
drop maintainership (requested by MAINTAINER) PR: 48256 Submitted by: Volker Stolz <vs@foldr.org>
Diffstat (limited to 'net/tcpview/files/patch-print_udp.c')
-rw-r--r--net/tcpview/files/patch-print_udp.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/tcpview/files/patch-print_udp.c b/net/tcpview/files/patch-print_udp.c
new file mode 100644
index 000000000000..42c7aabd1007
--- /dev/null
+++ b/net/tcpview/files/patch-print_udp.c
@@ -0,0 +1,27 @@
+--- print-udp.c.orig Thu Apr 22 22:40:29 1993
++++ print-udp.c Thu Feb 13 18:54:06 2003
+@@ -39,10 +39,10 @@
+ #include <errno.h>
+ #include <sys/time.h>
+ #include <rpc/types.h>
++#include <rpc/xdr.h>
+ #include <rpc/auth.h>
+ #include <rpc/auth_unix.h>
+ #include <rpc/svc.h>
+-#include <rpc/xdr.h>
+ #include <rpc/rpc_msg.h>
+
+ #ifdef TCPVIEW
+@@ -53,9 +53,10 @@
+ /* These must come after interface.h for BSD. */
+ #if BSD >= 199006
+ #include <sys/ucred.h>
+-#include <nfs/nfsv2.h>
++#include <sys/mount.h>
++#include <nfs/rpcv2.h>
++#include <nfs/nfsproto.h>
+ #endif
+-#include <nfs/nfs.h>
+
+ #include "addrtoname.h"
+ #include "appletalk.h"