Mesa (master): mesa: Include stdint.h in mtypes.h for uint32_t symbol.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Sep 27 03:54:05 UTC 2013
Module: Mesa
Branch: master
Commit: b2d5757831e2b67d87d3f80caa7f4ec10fce142b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2d5757831e2b67d87d3f80caa7f4ec10fce142b
Author: Vinson Lee <vlee at freedesktop.org>
Date: Thu Sep 26 20:40:39 2013 -0700
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 <vlee at freedesktop.org>
---
src/mesa/main/mtypes.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index dc1b902..d82672d 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -34,6 +34,8 @@
#define MTYPES_H
+#include <stdint.h> /* uint32_t */
+
#include "main/glheader.h"
#include "main/config.h"
#include "glapi/glapi.h"
More information about the mesa-commit
mailing list