bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix mbslen.c


From: Bruno Haible
Subject: fix mbslen.c
Date: Mon, 11 Jun 2007 02:20:10 +0200
User-agent: KMail/1.5.4

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

2007-06-10  Bruno Haible  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]