Mercurial > hg > octave-nkf > gnulib-hg
changeset 11654:22347e3d6b95
Make the tests work with a C++ compiler.
author | Sam Steingold <sds@gnu.org> |
---|---|
date | Fri, 26 Jun 2009 02:58:34 +0200 |
parents | ecb384fccb5b |
children | ed090c498dd0 |
files | ChangeLog m4/mbrtowc.m4 |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-25 Sam Steingold <sds@gnu.org> + + * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): Include <stdlib.h>, for the + mbtowc declaration. + 2009-06-25 Eric Blake <ebb9@byu.net> fpurge: migrate into <stdio.h>
--- a/m4/mbrtowc.m4 +++ b/m4/mbrtowc.m4 @@ -1,4 +1,4 @@ -# mbrtowc.m4 serial 15 +# mbrtowc.m4 serial 16 dnl Copyright (C) 2001-2002, 2004-2005, 2008, 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -156,6 +156,7 @@ if test $LOCALE_ZH_CN != none; then AC_TRY_RUN([ #include <locale.h> +#include <stdlib.h> #include <string.h> #include <wchar.h> int main ()