aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/dtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/dtoa.c')
-rw-r--r--Python/dtoa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/dtoa.c b/Python/dtoa.c
index e629b296426..6c44f689651 100644
--- a/Python/dtoa.c
+++ b/Python/dtoa.c
@@ -119,6 +119,7 @@
#include "Python.h"
#include "pycore_dtoa.h"
+#include <stdlib.h> // exit()
/* if PY_NO_SHORT_FLOAT_REPR is defined, then don't even try to compile
the following code */