drm-shim: Avoid invalid file and time bits combination

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065153

Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10721
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27967>
(cherry picked from commit 23441f7f4a)
This commit is contained in:
David Heidelberg 2024-03-04 15:52:20 +01:00 committed by Eric Engestrom
parent 538f20c1e0
commit 8ea0390197
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@
"description": "drm-shim: Avoid invalid file and time bits combination",
"nominated": false,
"nomination_type": 3,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -30,6 +30,7 @@
/* Prevent glibc from defining open64 when we want to alias it. */
#undef _FILE_OFFSET_BITS
#undef _TIME_BITS
#define _LARGEFILE64_SOURCE
#include <stdbool.h>