summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_symbol_table.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-06-24 17:08:53 -0700
committerEric Anholt <[email protected]>2010-06-24 17:23:19 -0700
commit3d6012303c3ce24c75d209267e6914f706d025c5 (patch)
tree424f42ea536b04f80e8dcaee14ba9f3dd709a437 /src/glsl/glsl_symbol_table.h
parentf4869f33269c54779f8199b68e769024100421a3 (diff)
glsl2: Wrap includes of C interfaces with extern "C".
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
-rw-r--r--src/glsl/glsl_symbol_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glsl_symbol_table.h b/src/glsl/glsl_symbol_table.h
index ae2fd3f4f1f..8fbc66c974d 100644
--- a/src/glsl/glsl_symbol_table.h
+++ b/src/glsl/glsl_symbol_table.h
@@ -28,7 +28,9 @@
#include <new>
+extern "C" {
#include "symbol_table.h"
+}
#include "ir.h"
#include "glsl_types.h"