summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir')
-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);