Skip to content

Commit

Permalink
fix missing wcwidth declaration on GNU Hurd (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
weinholt authored Jul 29, 2024
1 parent 55130b6 commit 0085c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/expeditor.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ static void s_ee_set_color(int color_id, IBOOL background) {
# include <xlocale.h>
#endif

#if defined(__linux__) && !defined(_XOPEN_SOURCE)
#if (defined(__gnu_hurd__) || defined(__linux__)) && !defined(_XOPEN_SOURCE)
extern int wcwidth(wchar_t);
#endif

Expand Down

0 comments on commit 0085c9f

Please sign in to comment.