]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxt_string: define _GNU_SOURCE for strnlen
authorJan Engelhardt <jengelh@medozas.de>
Mon, 1 Aug 2011 18:08:42 +0000 (20:08 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 1 Aug 2011 18:16:03 +0000 (20:16 +0200)
commit67156c0b9a3d35f5e7836e5683d8ca0b46ac36ca
treee7e6dc60daf6426d7bace0a81ef66d531e8a116d
parent4d8656ad9d0afd04820f125a85a7b673c7e74fe6
libxt_string: define _GNU_SOURCE for strnlen

On RHEL-5.6 and clones with its gcc-4.1.2 and glibc-2.5:

libxt_string.c: In function "parse_string":
libxt_string.c:84: warning: implicit declaration of function "strnlen"

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_string.c