summaryrefslogtreecommitdiff
path: root/src/glsl/linker.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-24 17:08:53 -0700
committerEric Anholt <eric@anholt.net>2010-06-24 17:23:19 -0700
commit3d6012303c3ce24c75d209267e6914f706d025c5 (patch)
tree424f42ea536b04f80e8dcaee14ba9f3dd709a437 /src/glsl/linker.cpp
parentf4869f33269c54779f8199b68e769024100421a3 (diff)
glsl2: Wrap includes of C interfaces with extern "C".
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r--src/glsl/linker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index ba382fe881..8547f74ce6 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -77,7 +77,9 @@ extern "C" {
#include "ir.h"
#include "ir_optimization.h"
#include "program.h"
+extern "C" {
#include "hash_table.h"
+}
/**
* Visitor that determines whether or not a variable is ever written.