Module: Mesa Branch: main Commit: 5022a26b50ef912835049a32ac3904ea77656e43 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5022a26b50ef912835049a32ac3904ea77656e43
Author: Matt Turner <matts...@gmail.com> Date: Fri Nov 17 19:52:36 2023 -0500 util: Include stdint.h in libdrm.h drmGetDevices2()'s first parameter is a uint32_t. Fixes: e05abb13455 ("util: Add a simple no-op libdrm shim") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26265> --- src/util/libdrm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/libdrm.h b/src/util/libdrm.h index 6645df0fda3..045d7243078 100644 --- a/src/util/libdrm.h +++ b/src/util/libdrm.h @@ -32,6 +32,7 @@ #else #include <errno.h> +#include <stdint.h> #include <sys/types.h> #define DRM_NODE_PRIMARY 0