diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-08-10 02:41:57 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-10 02:44:35 -0700 |
commit | 6cf8c2114a691a9b3f0eb42164d51e7fa86d33ea (patch) | |
tree | c64a6d22930c0145a9a6699568ef3b72ba5fac2f /rpc/rpc-lib/src/rpc-transport.h | |
parent | 3b2de50546579b43ead84cff98f5c74e7bf7f840 (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/rpc-transport.h')
-rw-r--r-- | rpc/rpc-lib/src/rpc-transport.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index 69a768d7283..f6576fc1384 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -26,8 +26,12 @@ #endif #include <inttypes.h> -#include <rpc/rpc.h> +#ifdef GF_SOLARIS_HOST_OS #include <rpc/auth.h> +#else +#include <rpc/rpc.h> +#endif + #include <rpc/rpc_msg.h> #ifndef MAX_IOVEC |