Skip to content

Commit

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

Signed-off-by: L. E. Segovia <[email protected]>
Co-authored-by: Doug Walker <[email protected]>
  • Loading branch information
amyspark and doug-walker committed Jul 22, 2024
1 parent 1e17c9a commit 21f656f
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 21f656f

Please sign in to comment.