summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/xdr-rpc.h
diff options
context:
space:
mode:
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 4c0ee69b..e90c1e76 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>