Fixes SCons build.
Trivial. Built locally with SCons and autotools.
# XXX: Nuke this as our dri targets no longer depend on VL.
VL_WINSYS_SOURCES := \
vl/vl_winsys_dri.c \
+ vl/vl_winsys_dri3.c \
vl/vl_winsys_drm.c
-if HAVE_DRI3
-VL_WINSYS_SOURCES += \
- vl/vl_winsys_dri3.c
-endif
-
VL_STUB_SOURCES := \
vl/vl_stubs.c
*
**************************************************************************/
+#if defined(HAVE_DRI3)
+
#include <fcntl.h>
#include <X11/Xlib-xcb.h>
FREE(scrn);
return NULL;
}
+
+#endif // defined(HAVE_DRI3)