diff options
author | Thomas Hellstrom <[email protected]> | 2010-11-01 17:12:39 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2010-11-09 12:31:24 +0100 |
commit | 8e630fad7260ea9e0c2792f4424a0c1ab0353cc9 (patch) | |
tree | 7bce889b1067e918ea661e06bc954057b6e8ae4d /src/gallium/state_trackers | |
parent | 6af2a7fe2c296611190412a546d549ec12192577 (diff) |
st/egl: Fix build for include files in nonstandard places
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/egl/Makefile | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/egl/x11/native_x11.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/Makefile b/src/gallium/state_trackers/egl/Makefile index 8dbfc5b8e56..8cfcef968ed 100644 --- a/src/gallium/state_trackers/egl/Makefile +++ b/src/gallium/state_trackers/egl/Makefile @@ -17,7 +17,7 @@ x11_INCLUDES = \ -I$(TOP)/src/mapi \ -I$(TOP)/src/mesa \ $(X11_CFLAGS) \ - $(shell pkg-config --cflags-only-I libdrm) + $(shell pkg-config --cflags-only-I libdrm dri2proto) x11_SOURCES = $(wildcard x11/*.c) \ $(TOP)/src/glx/dri2.c diff --git a/src/gallium/state_trackers/egl/x11/native_x11.h b/src/gallium/state_trackers/egl/x11/native_x11.h index 0b47837e1b5..8945117276e 100644 --- a/src/gallium/state_trackers/egl/x11/native_x11.h +++ b/src/gallium/state_trackers/egl/x11/native_x11.h @@ -27,6 +27,7 @@ #define _NATIVE_X11_H_ #include "common/native.h" +#include <X11/Xlib.h> struct native_display * x11_create_ximage_display(Display *dpy, |