git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Guard #inclusion of config.h in examples.
[libguestfs.git]
/
examples
/
to-xml.c
diff --git
a/examples/to-xml.c
b/examples/to-xml.c
index
5b75244
..
a62660c
100644
(file)
--- 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>