projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a797135
)
Include <stdlib.h>.
author
Bruno Haible
<bruno@clisp.org>
Mon, 11 Jun 2007 00:20:36 +0000
(
00:20
+0000)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 11 Jun 2007 00:20:36 +0000
(
00:20
+0000)
ChangeLog
patch
|
blob
|
history
lib/mbslen.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
35cab5e
..
662e058
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,9
@@
2007-06-10 Bruno Haible <bruno@clisp.org>
+ * lib/mbslen.c: Include <stdlib.h>, needed for MB_CUR_MAX.
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
* lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
* lib/mbuiter.h: Likewise.
diff --git
a/lib/mbslen.c
b/lib/mbslen.c
index
41c219f
..
9dae417
100644
(file)
--- a/
lib/mbslen.c
+++ b/
lib/mbslen.c
@@
-21,6
+21,8
@@
/* Specification. */
#include <string.h>
+#include <stdlib.h>
+
#if HAVE_MBRTOWC
# include "mbuiter.h"
#endif