Created attachment 1107788 [details] Unbreak build when xdr_uint64_t is not defined Since livirt 1.3.0 I'm no longer able to build libvirt on OpenBSD due to an undefined reference to xdr_uint64_t. It seems this problem has been addressed in the past already so please find attached a patch which extends this approach. Note that I have only been able to test my modifications to the .c files as rpcgen failed to parse the .x files on OpenBSD (failed on 'hyper'): /usr/bin/perl -w ./rpc/genprotocol.pl /usr/bin/rpcgen -h \ logging/log_protocol.x ./logging/log_protocol.h unsigned hyper inode; ^^^^^^^^^^^^^^^^^^^^^^^^ logging/log_protocol.x, line 46: expected ';' cannot shutdown /usr/bin/rpcgen: at ./rpc/genprotocol.pl line 139. It would be greatly appreciated if someone can verify that my patches build on Linux too. Note that it would probably unbreak the build on Cygwin too.
It appears your patches went upstream, so closing