nir: move stdio.h inclusion before extern C
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user