From 5fa153b18661e3651e1cc57bb3f477f9bef37f8f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 3 Aug 2009 15:21:44 +0200 Subject: Guard #inclusion of config.h in examples. * examples/hello.c [HAVE_CONFIG_H]: Include conditionally. * examples/to-xml.c: Likewise. --- examples/to-xml.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/to-xml.c') 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 +#if HAVE_CONFIG_H +# include +#endif #include #include #include -- cgit