From ddb49330398a4594fca53f665e2a9547f64a9d6c Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 22 Mar 2014 16:54:24 -0600 Subject: [PATCH] tt_xdr_utils.h: fix build error on linux/bsd introduced with illumos initial patch. The linux's and BSD's need the 'struct XDR::xdr_ops ops' declaration, whereas I guess sun does not. --- cde/lib/tt/lib/util/tt_xdr_utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/lib/tt/lib/util/tt_xdr_utils.h b/cde/lib/tt/lib/util/tt_xdr_utils.h index b450564f..b61b7f14 100644 --- a/cde/lib/tt/lib/util/tt_xdr_utils.h +++ b/cde/lib/tt/lib/util/tt_xdr_utils.h @@ -55,7 +55,11 @@ class _Tt_xdr_size_stream : public _Tt_allocated { #ifdef __DECCXX XDR::xdr_ops ops; #else +# if defined(sun) struct xdr_ops ops; +# else + struct XDR::xdr_ops ops; +# endif #endif }; -- 2.25.1