From 26c8537146958690021b69e4363f2d3c6866b621 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Fri, 21 Jun 2024 22:38:49 +0000 Subject: [PATCH] Darwin: use the correct include for locale functions Fixes #1973 Signed-off-by: L. E. Segovia --- src/utils/NumberUtils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/NumberUtils.h b/src/utils/NumberUtils.h index 08a9ba0069..f6835a0a16 100644 --- a/src/utils/NumberUtils.h +++ b/src/utils/NumberUtils.h @@ -11,9 +11,12 @@ #endif #include +#ifdef __APPLE__ +#include +#else #include +#endif #include -#include namespace OCIO_NAMESPACE {