Mercurial > hg > octave-nkf > gnulib-hg
changeset 8456:2e7713869657
Include <stdlib>, for malloc().
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 17 Mar 2007 18:40:48 +0000 |
parents | 621b64f9b7ea |
children | 8c4570f0f1c7 |
files | ChangeLog lib/unistr/u-cpy-alloc.h |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,6 @@ 2007-03-17 Bruno Haible <bruno@clisp.org> - * lib/unistr/u8-cpy-alloc.c: Include <stdlib.h>. - * lib/unistr/u16-cpy-alloc.c: Include <stdlib.h>. - * lib/unistr/u32-cpy-alloc.c: Include <stdlib.h>. + * lib/unistr/u-cpy-alloc.h: Include <stdlib.h>. 2007-03-17 Bruno Haible <bruno@clisp.org>
--- a/lib/unistr/u-cpy-alloc.h +++ b/lib/unistr/u-cpy-alloc.h @@ -1,5 +1,5 @@ /* Copy piece of UTF-8/UTF-16/UTF-32 string. - Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc. + Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2002. This program is free software; you can redistribute it and/or modify it @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <stdlib.h> #include <string.h> UNIT *