summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--capitests/test-command.c1
-rw-r--r--examples/hello.c1
-rw-r--r--examples/to-xml.c1
-rw-r--r--ocaml/guestfs_c.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/capitests/test-command.c b/capitests/test-command.c
index 1e29ee91..d451ebe6 100644
--- a/capitests/test-command.c
+++ b/capitests/test-command.c
@@ -20,6 +20,7 @@
* guestfs_command and guestfs_command_lines functions.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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>
diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs_c.c
index 43a85b80..f9836963 100644
--- a/ocaml/guestfs_c.c
+++ b/ocaml/guestfs_c.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>