summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/foo.c')
-rw-r--r--tests/scanner/foo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c
index 2fc8ed9e..19bf848b 100644
--- a/tests/scanner/foo.c
+++ b/tests/scanner/foo.c
@@ -1,4 +1,7 @@
+/* This file gets installed, so we can't assume config.h is available */
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include "foo.h"