summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-14 04:32:25 (GMT)
committerGuido van Rossum <guido@python.org>1997-03-14 04:32:25 (GMT)
commit1aeb1047baa41af14e720f74f30d288417f1122e (patch)
tree1c5425653455ca5be42ce77fd3ece2fbc8e58652 /Modules
parentf0958064f9159b1170ff4ddb87fb9230ec944d05 (diff)
downloadcpython-1aeb1047baa41af14e720f74f30d288417f1122e.zip
cpython-1aeb1047baa41af14e720f74f30d288417f1122e.tar.gz
cpython-1aeb1047baa41af14e720f74f30d288417f1122e.tar.bz2
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/fpectlmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index 3fc5d06..9fcc462 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -72,6 +72,7 @@ extern "C" {
/* Define locally if they are not defined in Python. This gives only
* the limited control to induce a core dump in case of an exception.
*/
+#include <setjmp.h>
static jmp_buf PyFPE_jbuf;
static int PyFPE_counter = 0;
#endif