From: Vinson Lee Date: Fri, 27 Sep 2013 03:40:39 +0000 (-0700) Subject: mesa: Include stdint.h in mtypes.h for uint32_t symbol. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2d5757831e2b67d87d3f80caa7f4ec10fce142b;p=mesa.git 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 --- 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"