summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-21 03:38:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-21 05:11:35 -0700
commitdb61075a123008ebd94ab8ff00b984e484155654 (patch)
treec52c3a644695ccc6e6d0af260d539611f1998af2 /rpc/xdr/src
parentcd9a247906924106c722ecf4611b7be4b5408ad9 (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/xdr/src')
-rw-r--r--rpc/xdr/src/cli1-xdr.h2
-rw-r--r--rpc/xdr/src/portmap-xdr.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h
index f1f5bc050..38f4a56e7 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 e53cc15ae..edc2ccf24 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