summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 9bb060e..16bf06f 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -3,7 +3,8 @@
#include <Python.h>
#include "pycore_dtoa.h" // _Py_dg_strtod()
#include "pycore_pymath.h" // _PY_SHORT_FLOAT_REPR
-#include <locale.h>
+
+#include <locale.h> // localeconv()
/* Case-insensitive string match used for nan and inf detection; t should be
lower-case. Returns 1 for a successful match, 0 otherwise. */