From: Jiri Benc Date: Wed, 8 Apr 2015 19:42:00 +0000 (+0200) Subject: configure: add missing INCLUDE to netnsid detection X-Git-Tag: v4.0.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d059de70cafb470f77fc19a42d95f6dc442cf6a3;p=thirdparty%2Fiproute2.git configure: add missing INCLUDE to netnsid detection Fixes: d116ff34145b0 ("ip netns: Fix rtnl error while print netns list") Signed-off-by: Jiri Benc --- diff --git a/configure b/configure index 631938e97..e54f4b6db 100755 --- a/configure +++ b/configure @@ -224,7 +224,7 @@ check_netnsid() #include int test_def = RTM_GETNSID; EOF - $CC -c $TMPDIR/netnsid.c >/dev/null 2>&1 + $CC -I$INCLUDE -c $TMPDIR/netnsid.c >/dev/null 2>&1 if [ $? -eq 0 ] then echo "IP_CONFIG_NETNSID:=y" >> Config