[Mesa-dev] [PATCH] glsl: include inttypes.h for PRIx64 macro

Brian Paul brianp at vmware.com
Fri Nov 11 00:30:26 UTC 2016


To fix MinGW build.
---
 src/compiler/glsl/ir_builder_print_visitor.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/glsl/ir_builder_print_visitor.cpp b/src/compiler/glsl/ir_builder_print_visitor.cpp
index d7bba9b..529466c 100644
--- a/src/compiler/glsl/ir_builder_print_visitor.cpp
+++ b/src/compiler/glsl/ir_builder_print_visitor.cpp
@@ -21,6 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#include <inttypes.h> /* for PRIx64 macro */
 #include "ir.h"
 #include "ir_hierarchical_visitor.h"
 #include "ir_builder_print_visitor.h"
-- 
1.9.1



More information about the mesa-dev mailing list