Add missing X11_INCLUDES to egl/drivers/demo and egl/main.
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 20 Jul 2009 06:11:26 +0000 (16:11 +1000)
committerDan Nicholson <dbn.lists@gmail.com>
Tue, 4 Aug 2009 13:30:30 +0000 (06:30 -0700)
Compiling mesa on a system with no X headers installed in the default
include paths fails due to missing X11 includes. The header includes are
picked up by configure but not applied.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 5358e54d1ae64ccfa81199b343a2931b415fcc0a)

src/egl/drivers/demo/Makefile
src/egl/main/Makefile

index 26694c92fa671c57304faaddad7f3371581dc688..444dfb35bde6a3d81041e54387bc49d60cf0acde 100644 (file)
@@ -4,7 +4,7 @@ TOP = ../../../..
 include $(TOP)/configs/current
 
 
-INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/egl/main
+INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/egl/main $(X11_INCLUDES)
 
 
 SOURCES = demo.c
index 8cfa25ca163683753a603550961db52a03e922c9..fab8f160891fa7776e754f0fb30b1bd330f8cb64 100644 (file)
@@ -4,7 +4,7 @@ TOP = ../../..
 include $(TOP)/configs/current
 
 
-INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/mesa/glapi
+INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/mesa/glapi $(X11_INCLUDES)
 
 HEADERS = \
        eglconfig.h \