From b2d5757831e2b67d87d3f80caa7f4ec10fce142b Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 26 Sep 2013 20:40:39 -0700 Subject: [PATCH] mesa: Include stdint.h in mtypes.h for uint32_t symbol. This patch fixes the MSVC build error introduced with commit b2e327e08f8519da131dd382adcc99240d433404. api_arrayelt.c src\mesa\main/mtypes.h(1809) : error C2061: syntax error : identifier 'uint32_t' src\mesa\main/mtypes.h(1810) : error C2059: syntax error : '}' src\mesa\main/mtypes.h(1825) : error C2079: 'Minimum' uses undefined union 'gl_perf_monitor_counter_value' src\mesa\main/mtypes.h(1828) : error C2079: 'Maximum' uses undefined union 'gl_perf_monitor_counter_value' Signed-off-by: Vinson Lee --- src/mesa/main/mtypes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index dc1b902b8a7..d82672dc99a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -34,6 +34,8 @@ #define MTYPES_H +#include /* uint32_t */ + #include "main/glheader.h" #include "main/config.h" #include "glapi/glapi.h" -- 2.30.2