Skip to content

Commit

Permalink
Darwin: use the correct include for locale functions
Browse files Browse the repository at this point in the history
Fixes AcademySoftwareFoundation#1973

Signed-off-by: L. E. Segovia <amy@amyspark.me>
  • Loading branch information
amyspark committed Jun 21, 2024
1 parent 55cfe59 commit eebc625
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/NumberUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
#endif

#include <cstdlib>
#ifdef __APPLE__
#include <xlocale.h>
#else
#include <locale>
#endif
#include <system_error>
#include <type_traits>

namespace OCIO_NAMESPACE
{
Expand Down

0 comments on commit eebc625

Please sign in to comment.