summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>