summaryrefslogtreecommitdiffstats
path: root/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h')
-rw-r--r--contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
index 6ebf490..a2678c7 100644
--- a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
+++ b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
@@ -46,11 +46,6 @@
#ifndef _AMU_NFS_PROT_H
#define _AMU_NFS_PROT_H
-#ifdef COMMENT_OUT
-#ifdef HAVE_RPCSVC_NFS_PROT_H
-# include <rpcsvc/nfs_prot.h>
-#endif /* HAVE_RPCSVC_NFS_PROT_H */
-#endif /* COMMENT_OUT */
/* nfs_prot.h defines struct `nfs_fh3', but it is a ``dmr "unwarranted
* chumminess with the C implementation". We need the more complete
* structure, which is defined below. So get the stock `nfs_fh3'
@@ -58,7 +53,11 @@
*/
struct nfs_fh3;
#define nfs_fh3 nfs_fh3_fbsd_
-# include "nfs_prot.h"
+
+#ifdef HAVE_RPCSVC_NFS_PROT_H
+# include <rpcsvc/nfs_prot.h>
+#endif /* HAVE_RPCSVC_NFS_PROT_H */
+
#undef nfs_fh3
#ifdef HAVE_NFS_RPCV2_H
OpenPOWER on IntegriCloud