projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8b6ba
)
Use typedef XDR from <rpc/xdr.h>
author
Marcin Cieslak
<saper@saper.info>
Thu, 27 Sep 2012 08:32:50 +0000
(10:32 +0200)
committer
Jon Trulson
<jon@radscan.com>
Thu, 27 Sep 2012 23:54:12 +0000
(17:54 -0600)
__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
patch
|
blob
|
history
diff --git
a/cde/lib/tt/lib/util/tt_xdr_utils.C
b/cde/lib/tt/lib/util/tt_xdr_utils.C
index d43f9d9e9410b9c58e692f1d34030d01bfae0cb0..76d716650dda4718a34cfeed7d0252598ce0c877 100644
(file)
--- 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 <memory.h>
#include "tt_options.h"
-#if defined(
CSRG_BASED
)
+#if defined(
__OpenBSD__
)
#define XDR __rpc_xdr
#endif