diff options
author | shishir gowda <shishirng@gluster.com> | 2010-10-21 03:38:30 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-21 05:11:35 -0700 |
commit | db61075a123008ebd94ab8ff00b984e484155654 (patch) | |
tree | c52c3a644695ccc6e6d0af260d539611f1998af2 /rpc | |
parent | cd9a247906924106c722ecf4611b7be4b5408ad9 (diff) |
Solaris build: Fix linux only features
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1990 (Gluster mainline build on solaris fails with errors)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1990
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 2 | ||||
-rw-r--r-- | rpc/xdr/src/portmap-xdr.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index f1f5bc05002..38f4a56e7d2 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -27,7 +27,7 @@ #define _CLI1_H_RPCGEN #include <rpc/rpc.h> - +#include "xdr-common.h" #ifdef __cplusplus extern "C" { diff --git a/rpc/xdr/src/portmap-xdr.h b/rpc/xdr/src/portmap-xdr.h index e53cc15ae4d..edc2ccf2450 100644 --- a/rpc/xdr/src/portmap-xdr.h +++ b/rpc/xdr/src/portmap-xdr.h @@ -27,6 +27,7 @@ #define _PORTMAP_H_RPCGEN #include <rpc/rpc.h> +#include <rpc/types.h> #ifdef __cplusplus |