aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-09-17 16:03:48 +0100
committerEmil Velikov <[email protected]>2015-09-21 17:01:32 +0100
commitbdb1faf44eac0128baaab62bd4c425c7c3424299 (patch)
tree323c37656c8c658d2a957a46c3a6e9f7816843af /src/glsl
parentc1070550c289d48ef389aeb8c564d1abd1123ad1 (diff)
nir: move stdio.h inclusion before extern C
Signed-off-by: Emil Velikov <[email protected]> Tested-by: Gottfried Haider <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_types.h b/src/glsl/nir/nir_types.h
index a8ff8f2c606..bf2faf496c4 100644
--- a/src/glsl/nir/nir_types.h
+++ b/src/glsl/nir/nir_types.h
@@ -27,6 +27,8 @@
#pragma once
+#include <stdio.h>
+
/* C wrapper around glsl_types.h */
#include "../glsl_types.h"
@@ -37,8 +39,6 @@ extern "C" {
struct glsl_type;
#endif
-#include <stdio.h>
-
void glsl_print_type(const struct glsl_type *type, FILE *fp);
void glsl_print_struct(const struct glsl_type *type, FILE *fp);