[Libguestfs] [PATCH 2/3] guestfs.h: Include <stdint.h>.

Richard W.M. Jones rjones at redhat.com
Mon Mar 22 10:42:52 UTC 2010


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
-------------- next part --------------
>From aaa163b8b635633adf23875df99fc94de4aba02f Mon Sep 17 00:00:00 2001
From: Richard Jones <rich at koneko.home.annexia.org>
Date: Mon, 22 Mar 2010 10:29:18 +0000
Subject: [PATCH 2/3] guestfs.h: Include <stdint.h>.

This allows programs to work if they just
  #include <guestfs.h>
and no other headers.  It's not useful in the general
case, but fixes some configure-time tests, particularly
the one for Ruby on OS X.
---
 src/guestfs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/guestfs.h b/src/guestfs.h
index 1a09fe8..b43cd8b 100644
--- a/src/guestfs.h
+++ b/src/guestfs.h
@@ -62,6 +62,7 @@ extern void guestfs_set_subprocess_quit_callback (guestfs_h *g, guestfs_subproce
 extern void guestfs_set_launch_done_callback (guestfs_h *g, guestfs_launch_done_cb cb, void *opaque);
 
 /*--- Structures and actions ---*/
+#include <stdint.h>
 #include <rpc/types.h>
 #include <rpc/xdr.h>
 #include <guestfs-structs.h>
-- 
1.6.4.1



More information about the Libguestfs mailing list