mbsalign: avoid warning with Solaris 10 cc
commit4015f93d3052b6b11ed5dbcdc032be324a084f07
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 03:39:28 +0000 (13 20:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 05:41:17 +0000 (13 22:41 -0700)
treea17392ae9db77f69005fdb5af5e55a3c4e79f82e
parent34ef0a01f0e1d620dac17d35832449b6880641b0
mbsalign: avoid warning with Solaris 10 cc

* gl/lib/mbsalign.c: Include <stdint.h> for SIZE_MAX.
Use SIZE_MAX rather than (size_t) -1, to avoid warning for
"size_t x = -1" on Solaris 10 cc.
* gl/modules/mbsalign (Depends-on): Add stdint.
gl/lib/mbsalign.c
gl/modules/mbsalign