build: Include config.h using CPPFLAGS

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 <withnall@endlessm.com>
tingping/wmclass
Philip Withnall 2017-06-30 10:58:10 +01:00 committed by Alexander Larsson
parent 15bc368188
commit 7a550f2f68
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ AM_CPPFLAGS = \
-I$(builddir)/common \
-I$(srcdir)/lib \
-I$(builddir)/lib \
-include "config.h" \
$(NULL)
AM_CFLAGS = $(WARN_CFLAGS)