summaryrefslogtreecommitdiff
path: root/Lib/std
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/std')
-rw-r--r--Lib/std/std_except.i4
1 files changed, 3 insertions, 1 deletions
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("<stdexcept>");
+%{
+#include <stdexcept>
+%}
#if defined(SWIG_STD_EXCEPTIONS_AS_CLASSES)