mesa/main: add missing include in glformats.h
This header uses uint32_t without including stdint.h. This worked fine
by accident until a new c-source started including it.
Fixes: 1bf539b3a21 ("mesa: Clamp some depth values in glClearBufferfv")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7637>
(cherry picked from commit 2410def98fa688aa009b42de3224e12e5ddbaff3)
diff --git a/.pick_status.json b/.pick_status.json
index c9154d9..5b3499d 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -679,7 +679,7 @@
"description": "mesa/main: add missing include in glformats.h",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": "1bf539b3a2129779addde397886870c00045e6d7"
},
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index 90438ff..98987a1 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -29,6 +29,7 @@
#include <stdbool.h>
+#include <stdint.h>
#include <GL/gl.h>