From be9edef2115e28c89d09725fb769165fd37eaea1 Mon Sep 17 00:00:00 2001 From: gardners Date: Wed, 15 May 2013 16:10:42 +0930 Subject: [PATCH] fix when linux/if.h and net/if.h are both available. --- lsif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lsif.c b/lsif.c index b97b2482..2f859131 100644 --- a/lsif.c +++ b/lsif.c @@ -51,7 +51,9 @@ #if __MACH__ #include #endif +#ifndef HAVE_LINUX_IF_H #include +#endif /* On platforms that have variable length ifreq use the old fixed length interface instead */