summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-17 18:41:28 +0000
committerBruno Haible <bruno@clisp.org>2007-03-17 18:41:28 +0000
commit9470e71e1fe3ab7623dbf407c0abbd3d321886e7 (patch)
tree278c62139f89bebf9e9fd1d33245ecc93547aa8c /lib
parent5ab74d25a8f0973ec33feb73d82d20f633ce4bc5 (diff)
downloadgnulib-9470e71e1fe3ab7623dbf407c0abbd3d321886e7.tar.gz
Include <stdlib.h>, for malloc().
Diffstat (limited to 'lib')
-rw-r--r--lib/unistr/u-strdup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unistr/u-strdup.h b/lib/unistr/u-strdup.h
index 416c657f71..5ab507b003 100644
--- 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 *