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:
committed by
Jon Trulson
parent
5f8b6ba739
commit
ee82570104
@@ -40,7 +40,7 @@
|
|||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include "tt_options.h"
|
#include "tt_options.h"
|
||||||
|
|
||||||
#if defined(CSRG_BASED)
|
#if defined(__OpenBSD__)
|
||||||
#define XDR __rpc_xdr
|
#define XDR __rpc_xdr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user