summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/nlm4-xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/nlm4-xdr.h')
-rw-r--r--rpc/xdr/src/nlm4-xdr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/xdr/src/nlm4-xdr.h b/rpc/xdr/src/nlm4-xdr.h
index fcc0e51b3..683d54ef5 100644
--- a/rpc/xdr/src/nlm4-xdr.h
+++ b/rpc/xdr/src/nlm4-xdr.h
@@ -36,6 +36,13 @@ extern "C" {
#define LM_MAXSTRLEN 1024
#define MAXNAMELEN 1025
+#if defined(__NetBSD__)
+#define xdr_u_quad_t xdr_u_int64_t
+#define xdr_quad_t xdr_int64_t
+#define xdr_uint32_t xdr_u_int32_t
+#define xdr_uint64_t xdr_u_int64_t
+#endif
+
/*
* The following enums are actually bit encoded for efficient
* boolean algebra.... DON'T change them.....