[Libguestfs] [PATCH] Fix building on macOS
Richard W.M. Jones
rjones at redhat.com
Mon May 7 20:04:35 UTC 2018
diff --git a/daemon/tsk.c b/daemon/tsk.c
index ad10d74fe..00a4b04b4 100644
--- a/daemon/tsk.c
+++ b/daemon/tsk.c
@@ -23,8 +23,8 @@
#include <inttypes.h>
#include <string.h>
#include <unistd.h>
-#include <rpc/xdr.h>
#include <rpc/types.h>
+#include <rpc/xdr.h>
Is it generally required on Macs that rpc/xdr.h is included after
rpc/types.h, or is this change a mistake?
The rest of the change looks fine.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macos-compile.oO6u3q.patch
Type: application/octet-stream
Size: 2337 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180507/509abf40/attachment.obj>
More information about the Libguestfs
mailing list