glx/windows: Fix building libwindowsdri when libX11 headers are installed in a non...
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 15 Sep 2016 15:04:16 +0000 (16:04 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 10 Nov 2017 18:24:12 +0000 (18:24 +0000)
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/glx/windows/Makefile.am

index f84288b935cb71e90ac48527d3f661ac4c27a26c..f4f8e9664d763b40a41c776586ec84aadd16becd 100644 (file)
@@ -10,6 +10,9 @@ pkgconfig_DATA = windowsdriproto.pc
 # library for using the Windows-DRI server extension
 libwindowsdri_la_SOURCES = xwindowsdri.c xwindowsdri.h
 
+libwindowsdri_la_CFLAGS = \
+        $(X11_INCLUDES)
+
 # native rendering GL for windows
 libwindowsglx_la_SOURCES = \
        windowsgl.c \