diff options
author | Jose Fonseca <[email protected]> | 2016-05-16 21:46:58 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-05-16 21:50:43 +0100 |
commit | cf010de6ee1b409d97f751705e5d8b26424cf025 (patch) | |
tree | 460c1ead72c86afbfa193c91c6ab1b3138e926f3 /src/gallium/auxiliary/vl | |
parent | 5e2072c711c13244987878117a834ae60ccb4413 (diff) |
vl/dri: Move the DRI3 check out of sources include into C.
Fixes SCons build.
Trivial. Built locally with SCons and autotools.
Diffstat (limited to 'src/gallium/auxiliary/vl')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys_dri3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c b/src/gallium/auxiliary/vl/vl_winsys_dri3.c index c69e67796c0..e438db3dff8 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_dri3.c +++ b/src/gallium/auxiliary/vl/vl_winsys_dri3.c @@ -25,6 +25,8 @@ * **************************************************************************/ +#if defined(HAVE_DRI3) + #include <fcntl.h> #include <X11/Xlib-xcb.h> @@ -704,3 +706,5 @@ free_screen: FREE(scrn); return NULL; } + +#endif // defined(HAVE_DRI3) |