summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-08-13 16:22:21 -0700
committerIan Romanick <[email protected]>2010-08-13 16:22:21 -0700
commita77a6bc008b3146c56431fa520a00e1f8dfa3938 (patch)
tree4d4d516120a5abf980fb05ec63994ecbc0d8490f
parent23f6017d70a705479b9bc3a1bf2ef401ac519fb9 (diff)
glsl2: Use stdint.h instead of inttypes.h
-rw-r--r--src/glsl/glcpp/glcpp-parse.c2
-rw-r--r--src/glsl/glcpp/glcpp-parse.y2
-rw-r--r--src/glsl/ir_function_inlining.cpp2
-rw-r--r--src/glsl/ir_validate.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.c b/src/glsl/glcpp/glcpp-parse.c
index a4d46042fff..b081d22e752 100644
--- a/src/glsl/glcpp/glcpp-parse.c
+++ b/src/glsl/glcpp/glcpp-parse.c
@@ -97,7 +97,7 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include <inttypes.h>
+#include <stdint.h>
#include "glcpp.h"
#include "main/mtypes.h"
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index b05a925a098..0d70afd779c 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include <inttypes.h>
+#include <stdint.h>
#include "glcpp.h"
#include "main/mtypes.h"
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/ir_function_inlining.cpp
index 874602c84f2..56d29e3fd16 100644
--- a/src/glsl/ir_function_inlining.cpp
+++ b/src/glsl/ir_function_inlining.cpp
@@ -27,7 +27,7 @@
* Replaces calls to functions with the body of the function.
*/
-#include <inttypes.h>
+#include <stdint.h>
#include "ir.h"
#include "ir_visitor.h"
#include "ir_function_inlining.h"
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 6e08fa4025a..905b3c76721 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -33,7 +33,7 @@
* a dereference chain.
*/
-#include <inttypes.h>
+#include <stdint.h>
#include "ir.h"
#include "ir_hierarchical_visitor.h"
#include "program/hash_table.h"