summaryrefslogtreecommitdiff
blob: 64c6cd8ab4195b78e02a7c6c91a06014c769259f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index c1859d1..1aa8559 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -44,7 +44,7 @@ TARGET_CFLAGS	= @TARGET_CFLAGS@
 
 # Base compiler flags. These are extended by the subcomponent-Makefiles
 # where necessary.
-CPPFLAGS	= @CPPFLAGS@ -I$(srcdir)/include -I$(srcdir)/util_lib/include \
+CPPFLAGS	= @CPPFLAGS@ -I$(top_builddir)/include -I$(srcdir)/include -I$(srcdir)/util_lib/include \
 			-Iinclude/ $($(ARCH)_CPPFLAGS)
 CFLAGS		= @CFLAGS@ -fno-strict-aliasing -Wall -Wstrict-prototypes
 PURGATORY_EXTRA_CFLAGS = @PURGATORY_EXTRA_CFLAGS@
@@ -77,6 +77,7 @@ pkgincludedir = $(includedir)/$(PACKAGE_NAME)
 DESTDIR =
 
 srcdir		= @srcdir@
+top_builddir = @top_builddir@
 VPATH		= .:$(srcdir)
 
 # install paths