Skip to content

Commit 7bb8433

Browse files
committed
Fix building on macOS
1 parent cbadeb5 commit 7bb8433

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kitty/colors.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
#include <structmember.h>
1010
#include "colors.h"
1111
#include <locale.h>
12-
float strtof_l(const char *restrict nptr, char **restrict endptr, locale_t locale);
12+
#ifdef __APPLE__
13+
#include <xlocale.h>
14+
#endif
1315
locale_t c_locale;
1416

1517

0 commit comments

Comments
 (0)