Include <stdlib>, for malloc().
authorBruno Haible <bruno@clisp.org>
Sat, 17 Mar 2007 18:40:48 +0000 (18:40 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Mar 2007 18:40:48 +0000 (18:40 +0000)
ChangeLog
lib/unistr/u-cpy-alloc.h

index 117c58f..647b087 100644 (file)
--- 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>
 
index 33d78ff..2baaf8c 100644 (file)
@@ -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 *