summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/lib/src/xdr-nfs3.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-08-10 02:41:56 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-10 02:44:31 -0700
commit3b2de50546579b43ead84cff98f5c74e7bf7f840 (patch)
tree5d079cca1505e8b094f74731d50c7d9b928d3f88 /xlators/nfs/lib/src/xdr-nfs3.h
parent5eb7cabfe7835604d132e4850ca6b656427df57f (diff)
nfs/rpc: Solaris build fixes
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1178 (Gluster mainline build fails on Solaris) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1178
Diffstat (limited to 'xlators/nfs/lib/src/xdr-nfs3.h')
-rw-r--r--xlators/nfs/lib/src/xdr-nfs3.h5
1 files changed, 3 insertions, 2 deletions
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 <rpc/rpc.h>
+#include <sys/types.h>
#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;