Use typedef XDR from <rpc/xdr.h>

__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.
This commit is contained in:
Marcin Cieslak
2012-09-27 10:32:50 +02:00
committed by Jon Trulson
parent 5f8b6ba739
commit ee82570104

View File

@@ -40,7 +40,7 @@
#include <memory.h>
#include "tt_options.h"
#if defined(CSRG_BASED)
#if defined(__OpenBSD__)
#define XDR __rpc_xdr
#endif