mbslen.c uses MB_CUR_MAX and therefore needs to include <stdlib.h>.

2007-06-10  Bruno Haible  <[EMAIL PROTECTED]>

        * lib/mbslen.c: Include <stdlib.h>, needed for MB_CUR_MAX.

*** lib/mbslen.c        11 Feb 2007 17:02:31 -0000      1.1
--- lib/mbslen.c        11 Jun 2007 00:18:44 -0000
***************
*** 21,26 ****
--- 21,28 ----
  /* Specification.  */
  #include <string.h>
  
+ #include <stdlib.h>
+ 
  #if HAVE_MBRTOWC
  # include "mbuiter.h"
  #endif



Reply via email to