diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-01-27 18:07:50 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-01-27 18:07:50 +0000 |
commit | e6f5a06c6d4821688e2af7750928c507c7007e9f (patch) | |
tree | 8a458f2a546da385a13b3662586000286e3aa02d /dediprog.c | |
parent | aa0af0f5e84f1a04df63ad45caf5aa05299dd280 (diff) | |
download | flashrom-e6f5a06c6d4821688e2af7750928c507c7007e9f.zip flashrom-e6f5a06c6d4821688e2af7750928c507c7007e9f.tar.gz |
Make strnlen() visible in old versions of glibc
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.
Corresponding to flashrom svn r1878.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'dediprog.c')
0 files changed, 0 insertions, 0 deletions