commit | 3d6012303c3ce24c75d209267e6914f706d025c5 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Jun 24 17:08:53 2010 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu Jun 24 17:23:19 2010 -0700 |
tree | 424f42ea536b04f80e8dcaee14ba9f3dd709a437 | |
parent | f4869f33269c54779f8199b68e769024100421a3 [diff] [blame] |
glsl2: Wrap includes of C interfaces with extern "C".
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/ir_function_inlining.cpp index e55780c..1adf678 100644 --- a/src/glsl/ir_function_inlining.cpp +++ b/src/glsl/ir_function_inlining.cpp
@@ -33,7 +33,9 @@ #include "ir_function_inlining.h" #include "ir_expression_flattening.h" #include "glsl_types.h" +extern "C" { #include "hash_table.h" +} class ir_function_inlining_visitor : public ir_hierarchical_visitor { public: