From: Khem Raj Date: Thu, 11 Aug 2022 05:34:40 +0000 (-0700) Subject: configure: Define _GNU_SOURCE when checking for setns X-Git-Tag: v6.0.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5fe96ab70928508f072a47449e9b641e46de323;p=thirdparty%2Fiproute2.git configure: Define _GNU_SOURCE when checking for setns glibc defines this function only as gnu extention Signed-off-by: Khem Raj Signed-off-by: Stephen Hemminger --- diff --git a/configure b/configure index 440facb7f..c02753bbd 100755 --- a/configure +++ b/configure @@ -191,6 +191,7 @@ check_ipt_lib_dir() check_setns() { cat >$TMPDIR/setnstest.c < int main(int argc, char **argv) {