summaryrefslogtreecommitdiff
path: root/tests/scanner/warnlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/warnlib.c')
-rw-r--r--tests/scanner/warnlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/warnlib.c b/tests/scanner/warnlib.c
index 4b92bf66..430e88d2 100644
--- a/tests/scanner/warnlib.c
+++ b/tests/scanner/warnlib.c
@@ -1,6 +1,9 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+/* This file gets installed, so we can't assume config.h is available */
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include "warnlib.h"