summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-04-08 21:42:00 +0200
committerStephen Hemminger <shemming@brocade.com>2015-04-10 13:23:35 -0700
commitd059de70cafb470f77fc19a42d95f6dc442cf6a3 (patch)
tree06387016192cc0fedc63703d86f35ad779bfe1dc /configure
parenta89d5329d414c601c220505c5173afecb4438dba (diff)
downloadiproute2-d059de70cafb470f77fc19a42d95f6dc442cf6a3.tar.gz
configure: add missing INCLUDE to netnsid detection
Fixes: d116ff34145b0 ("ip netns: Fix rtnl error while print netns list") Signed-off-by: Jiri Benc <jbenc@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 631938e9..e54f4b6d 100755
--- a/configure
+++ b/configure
@@ -224,7 +224,7 @@ check_netnsid()
#include <linux/rtnetlink.h>
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