diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/inetutils/inetutils-1.9.2/inetutils-1.8-0003-wchar.patch')
| -rw-r--r-- | meta-networking/recipes-connectivity/inetutils/inetutils-1.9.2/inetutils-1.8-0003-wchar.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.2/inetutils-1.8-0003-wchar.patch b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.2/inetutils-1.8-0003-wchar.patch new file mode 100644 index 0000000000..b13bb9229f --- /dev/null +++ b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.2/inetutils-1.8-0003-wchar.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | --- inetutils-1.8/lib/wchar.in.h | ||
| 4 | +++ inetutils-1.8/lib/wchar.in.h | ||
| 5 | @@ -70,6 +70,9 @@ | ||
| 6 | /* The include_next requires a split double-inclusion guard. */ | ||
| 7 | #if @HAVE_WCHAR_H@ | ||
| 8 | # @INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
| 9 | +#else | ||
| 10 | +# include <stddef.h> | ||
| 11 | +# define MB_CUR_MAX 1 | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #undef _GL_ALREADY_INCLUDING_WCHAR_H | ||
