summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/xdr-rpc.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-08-10 02:41:57 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-10 02:44:35 -0700
commit6cf8c2114a691a9b3f0eb42164d51e7fa86d33ea (patch)
treec64a6d22930c0145a9a6699568ef3b72ba5fac2f /rpc/rpc-lib/src/xdr-rpc.h
parent3b2de50546579b43ead84cff98f5c74e7bf7f840 (diff)
rpc-lib: 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 'rpc/rpc-lib/src/xdr-rpc.h')
-rw-r--r--rpc/rpc-lib/src/xdr-rpc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/xdr-rpc.h b/rpc/rpc-lib/src/xdr-rpc.h
index 4c0ee69b138..e90c1e76091 100644
--- a/rpc/rpc-lib/src/xdr-rpc.h
+++ b/rpc/rpc-lib/src/xdr-rpc.h
@@ -25,8 +25,16 @@
#include "config.h"
#endif
+#ifndef GF_SOLARIS_HOST_OS
#include <rpc/rpc.h>
-#include <rpc/pmap_clnt.h>
+#endif
+
+#ifdef GF_SOLARIS_HOST_OS
+#include <rpc/auth.h>
+#include <rpc/auth_sys.h>
+#endif
+
+//#include <rpc/pmap_clnt.h>
#include <arpa/inet.h>
#include <rpc/xdr.h>
#include <sys/uio.h>