summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/lib/src/rpcsvc.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-05-17 07:07:57 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-21 00:31:47 -0700
commitbfb10f41a8e3fe7326f507451459529c5b39b72e (patch)
tree08f63cba247e4d652242d3906108ef5ccc860f50 /xlators/nfs/lib/src/rpcsvc.h
parent18d982e6d0d330af8ccd2b12252ae29fe0932023 (diff)
OS X: NFS adjustments needed for OS X
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
Diffstat (limited to 'xlators/nfs/lib/src/rpcsvc.h')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.h b/xlators/nfs/lib/src/rpcsvc.h
index cea55746c90..a77021ac47e 100644
--- a/xlators/nfs/lib/src/rpcsvc.h
+++ b/xlators/nfs/lib/src/rpcsvc.h
@@ -38,6 +38,11 @@
#include <pthread.h>
#include <sys/uio.h>
+#ifdef GF_DARWIN_HOST_OS
+#include <nfs/rpcv2.h>
+#define NGRPS RPCAUTH_UNIXGIDS
+#endif
+
#define GF_RPCSVC "rpc-service"
#define RPCSVC_THREAD_STACK_SIZE ((size_t)(1024 * GF_UNIT_KB))