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

index 647b0875825b6a6b5ab76b94d0b8c81c1fdcc5eb..692f1d56bc3b081606c2697875288532ce156968 100644 (file)
--- 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>.
index 416c657f7197b6e4c6837fe5c16630f523edaae0..5ab507b00368c92fbea1cabf85080f162225d7f9 100644 (file)
@@ -17,6 +17,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    USA.  */
 
+#include <stdlib.h>
 #include <string.h>
 
 UNIT *