summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-20 16:11:26 +1000
committerDave Airlie <airlied@redhat.com>2009-07-21 11:45:49 +1000
commit5358e54d1ae64ccfa81199b343a2931b415fcc0a (patch)
tree027bb1ea5cbac206a15ed4d2b4ac3736c8d60906 /src/egl
parent81d555068408d4343d7627c8bedda5675f09bd21 (diff)
downloadexternal_mesa3d-5358e54d1ae64ccfa81199b343a2931b415fcc0a.zip
external_mesa3d-5358e54d1ae64ccfa81199b343a2931b415fcc0a.tar.gz
external_mesa3d-5358e54d1ae64ccfa81199b343a2931b415fcc0a.tar.bz2
Add missing X11_INCLUDES to egl/drivers/demo and egl/main.
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>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/demo/Makefile2
-rw-r--r--src/egl/main/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/demo/Makefile b/src/egl/drivers/demo/Makefile
index 26694c9..444dfb3 100644
--- a/src/egl/drivers/demo/Makefile
+++ b/src/egl/drivers/demo/Makefile
@@ -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
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index e1ff879..7cab005 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -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 = \
eglcompiler.h \