mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-08 11:30:21 +00:00
configure: add missing INCLUDE to netnsid detection
Fixes: d116ff3414 ("ip netns: Fix rtnl error while print netns list")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
This commit is contained in:
parent
a89d5329d4
commit
d059de70ca
2
configure
vendored
2
configure
vendored
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user