changeset 8457:8c4570f0f1c7

Include <stdlib.h>, for malloc().
author Bruno Haible <bruno@clisp.org>
date Sat, 17 Mar 2007 18:41:28 +0000
parents 2e7713869657
children acda26672e61
files ChangeLog lib/unistr/u-strdup.h
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+	* lib/unistr/u-strdup.h: Include <stdlib.h>.
+
 2007-03-17  Bruno Haible  <bruno@clisp.org>
 
 	* lib/unistr/u-cpy-alloc.h: Include <stdlib.h>.
--- a/lib/unistr/u-strdup.h
+++ b/lib/unistr/u-strdup.h
@@ -17,6 +17,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    USA.  */
 
+#include <stdlib.h>
 #include <string.h>
 
 UNIT *