Problem:<br><br><pre class="wiki">/tmp/vbox.4/utils.c: In function 'sf_nlscpy':<br>/tmp/vbox.4/utils.c:532: error: 'wchar_t' undeclared (first use in this function)<br>/tmp/vbox.4/utils.c:532: error: (Each undeclared identifier is reported only once<br>
/tmp/vbox.4/utils.c:532: error: for each function it appears in.)<br>/tmp/vbox.4/utils.c:532: error: syntax error before 'uni'<br>/tmp/vbox.4/utils.c:537: error: 'uni' undeclared (first use in this function)<br>
<br><br></pre>Suggested solution:<br><br><pre class="wiki">--- vbox.3/utils.c      2009-09-10 03:45:02.000000000 +1000<br>+++ vbox.4/utils.c      2009-09-21 01:37:01.000000000 +1000<br>@@ -529,7 +529,7 @@<br><br>                 while (in_bound_len) {<br>
                         int nb;<br>-                        wchar_t uni;<br>+                        linux_wchar_t uni;<br><br> #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 31)<br><br>                         nb = utf8_to_utf32 (in, in_bound_len, &uni);</pre>
<br>