summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/xdr-generic.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-08-09 11:37:38 +0530
committerAnand Avati <avati@gluster.com>2011-08-10 07:21:41 -0700
commit2153b8400bc05f1a9e10c7b650dd96a4617121f1 (patch)
treec68ac5681d0d531cc55ac5db345a528a1cc36025 /rpc/xdr/src/xdr-generic.h
parenteddb2069f3b0e122cbd034328d87e08e737f4c4e (diff)
fix build issues in Mac OS X (10.6)
Change-Id: Ifc6f156441f6545d579c3fac2fffca36fb395951 BUG: 3354 Reviewed-on: http://review.gluster.com/196 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shishir Gowda <shishirng@gluster.com>
Diffstat (limited to 'rpc/xdr/src/xdr-generic.h')
-rw-r--r--rpc/xdr/src/xdr-generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/xdr/src/xdr-generic.h b/rpc/xdr/src/xdr-generic.h
index 238e74d3c..ad82d106b 100644
--- a/rpc/xdr/src/xdr-generic.h
+++ b/rpc/xdr/src/xdr-generic.h
@@ -26,6 +26,8 @@
#include <rpc/types.h>
#include <rpc/xdr.h>
+#include "compat.h"
+
#define xdr_decoded_remaining_addr(xdr) ((&xdr)->x_private)
#define xdr_decoded_remaining_len(xdr) ((&xdr)->x_handy)
#define xdr_encoded_length(xdr) (((size_t)(&xdr)->x_private) - ((size_t)(&xdr)->x_base))