summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r--src/mesa/main/glheader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index f8ea238f42e..abb858638eb 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -81,6 +81,9 @@
#if _MSC_VER == 1200
typedef UINT_PTR uintptr_t;
#endif
+#if defined(__MINGW32__)
+#include <stdint.h>
+#endif
#else
#include <inttypes.h>
#endif