summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rich@koneko.home.annexia.org>2010-03-22 10:29:18 +0000
committerRichard Jones <rich@koneko.home.annexia.org>2010-03-22 10:41:46 +0000
commite5fa90a795ab632918081195c356aa4c02ab61cd (patch)
treedfd036dc299c300f27137ffb6e56d353ce8f7e57
parent82bd4fac87dce677a69bc5297f11799baf3eb1f5 (diff)
downloadlibguestfs-e5fa90a795ab632918081195c356aa4c02ab61cd.tar.gz
libguestfs-e5fa90a795ab632918081195c356aa4c02ab61cd.tar.xz
libguestfs-e5fa90a795ab632918081195c356aa4c02ab61cd.zip
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.
-rw-r--r--src/guestfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guestfs.h b/src/guestfs.h
index 1a09fe80..b43cd8bc 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>