From 1fe5efb4bd3d86113d5f57e92713da00fec7453f Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 20 Oct 2023 22:11:35 +0200 Subject: [PATCH] Include `bits/types/locale_t` --- numpy/_core/feature_detection_locale.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/numpy/_core/feature_detection_locale.h b/numpy/_core/feature_detection_locale.h index 59e78936d8d8..ccb0dc7da907 100644 --- a/numpy/_core/feature_detection_locale.h +++ b/numpy/_core/feature_detection_locale.h @@ -1,2 +1,5 @@ #pragma GCC diagnostic ignored "-Wnonnull" +#ifdef _GNU_SOURCE +# include +#endif long double strtold_l(const char*, char**, locale_t);