Commit d059de70 authored by Jiri Benc's avatar Jiri Benc Committed by Stephen Hemminger

configure: add missing INCLUDE to netnsid detection

Fixes: d116ff34 ("ip netns: Fix rtnl error while print netns list")
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
parent a89d5329
...@@ -224,7 +224,7 @@ check_netnsid() ...@@ -224,7 +224,7 @@ check_netnsid()
#include <linux/rtnetlink.h> #include <linux/rtnetlink.h>
int test_def = RTM_GETNSID; int test_def = RTM_GETNSID;
EOF EOF
$CC -c $TMPDIR/netnsid.c >/dev/null 2>&1 $CC -I$INCLUDE -c $TMPDIR/netnsid.c >/dev/null 2>&1
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "IP_CONFIG_NETNSID:=y" >> Config echo "IP_CONFIG_NETNSID:=y" >> Config
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment