nir: move stdio.h inclusion before extern C
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 17 Sep 2015 15:03:48 +0000 (16:03 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Sep 2015 16:01:32 +0000 (17:01 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Gottfried Haider <gottfried.haider@gmail.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/nir/nir_types.h

index a8ff8f2..bf2faf4 100644 (file)
@@ -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);