Masami HIRATA
2012-Aug-26 10:32 UTC
[Libguestfs] [PATCH] Mac OS X: Fixed combination of running autogen.sh on Linux and building on Mac OS X
Signed-off-by: Masami HIRATA <msmhrt at gmail.com> --- generator/generator_xdr.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/generator_xdr.ml b/generator/generator_xdr.ml index 9acea8f..ef9e0f2 100644 --- a/generator/generator_xdr.ml +++ b/generator/generator_xdr.ml @@ -40,6 +40,7 @@ let generate_xdr () generate_header CStyle LGPLv2plus; (* This has to be defined to get around a limitation in Mac OS X's rpcgen. *) + pr "%%#include <config.h>\n"; pr "#if HAVE_XDR_U_INT64_T\n"; pr "#define uint64_t u_int64_t\n"; pr "%%#if HAVE_XDR_UINT64_T\n"; -- 1.7.9.6 (Apple Git-31.1)
Richard W.M. Jones
2012-Aug-28 09:10 UTC
[Libguestfs] [PATCH] Mac OS X: Fixed combination of running autogen.sh on Linux and building on Mac OS X
On Sun, Aug 26, 2012 at 07:32:04PM +0900, Masami HIRATA wrote:> > Signed-off-by: Masami HIRATA <msmhrt at gmail.com> > --- > generator/generator_xdr.ml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/generator/generator_xdr.ml b/generator/generator_xdr.ml > index 9acea8f..ef9e0f2 100644 > --- a/generator/generator_xdr.ml > +++ b/generator/generator_xdr.ml > @@ -40,6 +40,7 @@ let generate_xdr () > generate_header CStyle LGPLv2plus; > > (* This has to be defined to get around a limitation in Mac OS X's rpcgen. *) > + pr "%%#include <config.h>\n"; > pr "#if HAVE_XDR_U_INT64_T\n"; > pr "#define uint64_t u_int64_t\n"; > pr "%%#if HAVE_XDR_UINT64_T\n"; > -- > 1.7.9.6 (Apple Git-31.1)Thanks, I've applied it here and will push this shortly. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Seemingly Similar Threads
- [PATCH 01/12] configure: Add -nographic command line option to qemu.
- [PATCH] python: Fixed syntax errors in python/guestfs-py.c
- [PATCH] lib: Prefer tirpc for XDR, and rationlise how we search for alternatives.
- [PATCH v2 1/7] lib: Share common protocol and errnostring libraries with the library and daemon.
- Problem with qemu 1.2.0-rc1