From bdb1faf44eac0128baaab62bd4c425c7c3424299 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 17 Sep 2015 16:03:48 +0100 Subject: [PATCH] nir: move stdio.h inclusion before extern C Signed-off-by: Emil Velikov Tested-by: Gottfried Haider Reviewed-by: Timothy Arceri --- src/glsl/nir/nir_types.h | 4 ++-- 1 file 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 + /* C wrapper around glsl_types.h */ #include "../glsl_types.h" @@ -37,8 +39,6 @@ extern "C" { struct glsl_type; #endif -#include - void glsl_print_type(const struct glsl_type *type, FILE *fp); void glsl_print_struct(const struct glsl_type *type, FILE *fp); -- 2.30.2