loader: Include include/drm-uapi in the autotools build
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Mar 2018 21:13:27 +0000 (14:13 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Mar 2018 15:50:07 +0000 (08:50 -0700)
We're already including it in the meson build.  This fixes build issues
on systems which have a drm_fourcc.h that doesn't have modifiers.

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/loader/Makefile.am

index a0e52c1c8941ca367ba9aa3dda0f0e716461e9f4..76252564281957edb9c7f1438e7bd91925091983 100644 (file)
@@ -30,6 +30,7 @@ AM_CPPFLAGS = \
        -DUSE_DRICONF \
        $(DEFINES) \
        -I$(top_srcdir)/include \
        -DUSE_DRICONF \
        $(DEFINES) \
        -I$(top_srcdir)/include \
+       -I$(top_srcdir)/include/drm-uapi \
        -I$(top_srcdir)/src \
        $(VISIBILITY_CFLAGS) \
        $(XCB_DRI3_CFLAGS) \
        -I$(top_srcdir)/src \
        $(VISIBILITY_CFLAGS) \
        $(XCB_DRI3_CFLAGS) \