diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am index 77124ffd..3a26cbd6 100644 --- a/src/xwayland/Makefile.am +++ b/src/xwayland/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/shared \ + -I$(top_builddir)/src \ -DDATADIR='"$(datadir)"' \ -DMODULEDIR='"$(moduledir)"' \ -DLIBEXECDIR='"$(libexecdir)"' \ diff --git a/tests/Makefile.am b/tests/Makefile.am index f2960f11..0f81458d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -35,6 +35,7 @@ AM_CFLAGS = $(GCC_CFLAGS) AM_CPPFLAGS = \ -I$(top_srcdir)/src \ -I$(top_srcdir)/shared \ + -I$(top_builddir)/src \ -DUNIT_TEST \ $(COMPOSITOR_CFLAGS) AM_LDFLAGS = -module -avoid-version -rpath $(libdir)