aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0003-wchar.patch
blob: b13bb9229ff023a47097824f7396b4a9b038a832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Upstream-Status: Pending

--- inetutils-1.8/lib/wchar.in.h
+++ inetutils-1.8/lib/wchar.in.h
@@ -70,6 +70,9 @@
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_WCHAR_H@
 # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+#else
+# include <stddef.h>
+# define MB_CUR_MAX 1
 #endif
 
 #undef _GL_ALREADY_INCLUDING_WCHAR_H