diff --git a/Lib/std/std_except.i b/Lib/std/std_except.i index 18bbd4ef1..75b8d0fd6 100644 --- a/Lib/std/std_except.i +++ b/Lib/std/std_except.i @@ -2,7 +2,9 @@ #error "do not use this version of std_except.i" #endif -%fragment(""); +%{ +#include +%} #if defined(SWIG_STD_EXCEPTIONS_AS_CLASSES)