summaryrefslogtreecommitdiff
path: root/security/nfsbug/patches/patch-ac
blob: e59e78dcb9f0657ccbc0a3c2445813cebdfccfbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ac,v 1.2 1998/11/12 23:48:35 frueauf Exp $

--- nfsbug.c.orig	Mon Sep 28 17:45:40 1998
+++ nfsbug.c	Mon Sep 28 17:47:58 1998
@@ -25,16 +25,18 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <sys/sysmacros.h>
 #include <sys/time.h>
 #include <sys/vnode.h>
-#include <sys/vfs.h>
-#include <sys/sysmacros.h>
+#include <sys/mount.h>
 #ifdef SVR4
 #include <sys/inode.h>
 #else
 #ifndef HPUX
+#ifdef __NetBSD__
+#include <ufs/ufs/dinode.h>
+#else
 #include <ufs/inode.h>
+#endif
 #endif
 #endif