summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/glsl/serialize.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler/glsl/serialize.cpp b/src/compiler/glsl/serialize.cpp
index 769ab560c87..63ce41d87bd 100644
--- a/src/compiler/glsl/serialize.cpp
+++ b/src/compiler/glsl/serialize.cpp
@@ -33,13 +33,11 @@
#include "compiler/shader_info.h"
#include "ir_uniform.h"
#include "main/mtypes.h"
+#include "main/shaderobj.h"
+#include "program/program.h"
#include "string_to_uint_map.h"
#include "util/bitscan.h"
-extern "C" {
-#include "main/shaderobj.h"
-#include "program/program.h"
-}
static void
write_subroutines(struct blob *metadata, struct gl_shader_program *prog)