[flashrom] [PATCH] Make strnlen() visible in old versions of glibc.

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Jan 27 10:33:52 CET 2015

On 27.01.2015 00:53, Stefan Tauner wrote:
> strnlen() is in POSIX 2008 but was a GNU extension up to glibc 2.10 requiring
> to define _GNU_SOURCE. This fixes compilation on CentOS 4.9.
> Also, move our implementation of strnlen() that was added to support DJGPP
> to helpers.c.
> Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>

Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


More information about the flashrom mailing list