summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/xdr-generic.h
diff options
context:
space:
mode:
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 238e74d3cb4..ad82d106bd0 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))