From 3b2de50546579b43ead84cff98f5c74e7bf7f840 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 10 Aug 2010 02:41:56 +0000 Subject: nfs/rpc: Solaris build fixes Signed-off-by: Shehjar Tikoo Signed-off-by: Anand V. Avati BUG: 1178 (Gluster mainline build fails on Solaris) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1178 --- xlators/nfs/lib/src/xdr-nfs3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xlators/nfs/lib/src/xdr-nfs3.h') diff --git a/xlators/nfs/lib/src/xdr-nfs3.h b/xlators/nfs/lib/src/xdr-nfs3.h index fe4046584ff..5af65e6b0e1 100644 --- a/xlators/nfs/lib/src/xdr-nfs3.h +++ b/xlators/nfs/lib/src/xdr-nfs3.h @@ -21,6 +21,7 @@ #define _XDR_NFS3_H #include +#include #define NFS3_FHSIZE 64 #define NFS3_COOKIEVERFSIZE 8 @@ -42,8 +43,8 @@ */ #define NFS3_ENTRYP3_FIXED_SIZE (NFS3_ENTRY3_FIXED_SIZE + NFS3_POSTOPATTR_SIZE + NFS3_POSTOPFH3_FIXED_SIZE) -typedef u_quad_t uint64; -typedef quad_t int64; +typedef uint64_t uint64; +typedef int64_t int64; typedef uint32_t uint32; typedef int32_t int32; typedef char *filename3; -- cgit