Fix building on macOS

This commit is contained in:
Kovid Goyal
2025-12-30 22:00:20 +05:30
parent cbadeb5e9a
commit 7bb8433c8b

View File

@@ -9,7 +9,9 @@
#include <structmember.h>
#include "colors.h"
#include <locale.h>
float strtof_l(const char *restrict nptr, char **restrict endptr, locale_t locale);
#ifdef __APPLE__
#include <xlocale.h>
#endif
locale_t c_locale;