From ee82570104e93a0dc0f4049179c6b544c59ef930 Mon Sep 17 00:00:00 2001 From: Marcin Cieslak Date: Thu, 27 Sep 2012 10:32:50 +0200 Subject: [PATCH] Use typedef XDR from __rpc_xdr is no longer available on FreeBSD 10. (XDR is typedef'd as "struct XDR" and not "struct __rpc_xdr"). By the way, why did we ever need this? Probably it should be removed. Leaving for __OpenBSD__ for now. --- cde/lib/tt/lib/util/tt_xdr_utils.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/tt/lib/util/tt_xdr_utils.C b/cde/lib/tt/lib/util/tt_xdr_utils.C index d43f9d9e..76d71665 100644 --- a/cde/lib/tt/lib/util/tt_xdr_utils.C +++ b/cde/lib/tt/lib/util/tt_xdr_utils.C @@ -40,7 +40,7 @@ #include #include "tt_options.h" -#if defined(CSRG_BASED) +#if defined(__OpenBSD__) #define XDR __rpc_xdr #endif -- 2.25.1