From 7a550f2f684c9b52e46ae8cc48b86bce6087156d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 30 Jun 2017 10:58:10 +0100 Subject: [PATCH] build: Include config.h using CPPFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This ensures it’s always included in the build, regardless of whether someone forgets to #include it from a C file. Signed-off-by: Philip Withnall --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index d71a5370..907a2b38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,6 +51,7 @@ AM_CPPFLAGS = \ -I$(builddir)/common \ -I$(srcdir)/lib \ -I$(builddir)/lib \ + -include "config.h" \ $(NULL) AM_CFLAGS = $(WARN_CFLAGS)