diff options
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/stdlib/mbrtowc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 07fca26..62b0036 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-12-05 Christopher Faylor <cgf@redhat.com> + + * libc/stdlib/mbrtowc.c: Change include order to prevent compiler + errors when defining _mbrtowc. + 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com> * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c index 0db1208..6bf2087 100644 --- a/newlib/libc/stdlib/mbrtowc.c +++ b/newlib/libc/stdlib/mbrtowc.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> #include <string.h> |