diff options
author | Jon Turney <[email protected]> | 2018-12-14 13:20:10 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2018-12-15 13:49:24 +0000 |
commit | d512b35b62ff928b880a67887d36f1568aaa5e4b (patch) | |
tree | 5e8eac1526f684da75d6bf6cb2a1e47d52ab2129 /src/gallium/state_trackers | |
parent | 29927e7524b07d491c555b8ed06c9b89cd0856f8 (diff) |
glx: Fix compilation with GLX_USE_WINDOWSGL
Sadly, the GLX_USE_APPLEGL and GLX_USE_WINDOWSGL cases are not identical
(because GLX_USE_WINDOWSGL uses vtables rather than a maze of ifdefs)
Include <sys/time.h> again, as functions prototyped by it are used in
the GLX_USE_WINDOWSGL path.
Make the include guard around the __glxGetMscRate() definition match the
one at it's declaration again, as it's referenced from dri_common.c
which is built for GLX_USE_WINDOWSGL.
Fixes: a95ec138 ("glx: mandate xf86vidmode only for "drm" dri platforms")
Signed-off-by: Jon Turney <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions