Building fail when GL headers are not installed in the system,
so add inclusion of these headers.
---
 src/mesa/x86-64/Makefile.am |    1 +
 src/mesa/x86/Makefile.am    |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/mesa/x86-64/Makefile.am b/src/mesa/x86-64/Makefile.am
index 79cbb53..271ece9 100644
--- a/src/mesa/x86-64/Makefile.am
+++ b/src/mesa/x86-64/Makefile.am
@@ -24,6 +24,7 @@ if HAVE_X86_64_ASM
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_srcdir)/include \
        $(API_DEFINES) \
        $(DEFINES)
 
diff --git a/src/mesa/x86/Makefile.am b/src/mesa/x86/Makefile.am
index f241de5..2b43f9d 100644
--- a/src/mesa/x86/Makefile.am
+++ b/src/mesa/x86/Makefile.am
@@ -24,6 +24,7 @@ if HAVE_X86_ASM
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_srcdir)/include \
        $(API_DEFINES) \
        $(DEFINES)
 
-- 
1.7.10.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to