summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-03 05:33:35 -0400
committerJim Meyering <meyering@redhat.com>2009-08-03 15:14:30 +0200
commit3572996364d9d24406241dee5155048440053ecf (patch)
treeefcf778bdb9375c347d1a0c376b0a3027d4d81df /examples
parentd39310d10894808580f7c0cfb425083f55685e12 (diff)
downloadlibguestfs-3572996364d9d24406241dee5155048440053ecf.tar.gz
libguestfs-3572996364d9d24406241dee5155048440053ecf.tar.xz
libguestfs-3572996364d9d24406241dee5155048440053ecf.zip
always include <config.h>
* ocaml/guestfs_c.c: Include <config.h>. * examples/to-xml.c: Likewise. * examples/hello.c: Likewise.
Diffstat (limited to 'examples')
-rw-r--r--examples/hello.c1
-rw-r--r--examples/to-xml.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello.c b/examples/hello.c
index a4cc43d5..a8649f37 100644
--- a/examples/hello.c
+++ b/examples/hello.c
@@ -4,6 +4,7 @@
* hello guest.img /dev/VolGroup00/LogVol00
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/examples/to-xml.c b/examples/to-xml.c
index d6422e08..5b75244e 100644
--- a/examples/to-xml.c
+++ b/examples/to-xml.c
@@ -7,6 +7,7 @@
* to-xml guest.img [guest.img ...]
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>