From 0b3f2e02fbda18e7ac0d0cac1e1997ed53d7fef7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 17 Nov 2023 19:52:36 -0500 Subject: [PATCH] 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: (cherry picked from commit 5022a26b50ef912835049a32ac3904ea77656e43) --- .pick_status.json | 2 +- src/util/libdrm.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index dc34d5f9e05..68d0a5076f5 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -14,7 +14,7 @@ "description": "util: Include stdint.h in libdrm.h", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "e05abb1345530433681e2a4965588e4e2f51380b", "notes": null diff --git a/src/util/libdrm.h b/src/util/libdrm.h index 900f2f3b6bb..cc153cf88ab 100644 --- a/src/util/libdrm.h +++ b/src/util/libdrm.h @@ -32,6 +32,7 @@ #else #include +#include #define DRM_NODE_PRIMARY 0 #define DRM_NODE_CONTROL 1