From 7bb8433c8bc6c0eecae7c87c652b491dab6f98cc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 30 Dec 2025 22:00:20 +0530 Subject: [PATCH] Fix building on macOS --- kitty/colors.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitty/colors.c b/kitty/colors.c index fa542384f..37ffc6b9a 100644 --- a/kitty/colors.c +++ b/kitty/colors.c @@ -9,7 +9,9 @@ #include #include "colors.h" #include -float strtof_l(const char *restrict nptr, char **restrict endptr, locale_t locale); +#ifdef __APPLE__ +#include +#endif locale_t c_locale;