[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[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 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]