summaryrefslogtreecommitdiffstats
path: root/examples/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello.c')
-rw-r--r--examples/hello.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/hello.c b/examples/hello.c
index a8649f37..1c12f8ea 100644
--- a/examples/hello.c
+++ b/examples/hello.c
@@ -4,7 +4,9 @@
* hello guest.img /dev/VolGroup00/LogVol00
*/
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>