--- Lib/swigrun.swg.orig 2015-01-31 17:51:17 UTC +++ Lib/swigrun.swg @@ -176,6 +176,7 @@ SWIGINTERNINLINE int SWIG_CheckState(int #include #ifdef __cplusplus +#include extern "C" { #endif