summaryrefslogtreecommitdiffstats
path: root/examples/to-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/to-xml.c')
-rw-r--r--examples/to-xml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/to-xml.c b/examples/to-xml.c
index 5b75244e..a62660ce 100644
--- a/examples/to-xml.c
+++ b/examples/to-xml.c
@@ -7,7 +7,9 @@
* to-xml guest.img [guest.img ...]
*/
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>