kernel include if_arp.h

From: agri
Date: Thu Aug 21 2003 - 05:29:49 EST


i was trying to compile squid-2.5.STABLE3 with arp acl support in my
i686-pc-linux-gnu box.

squid/src/acl.c include <linux/if_arp.h>
so while compiling i got warning that an include file should not be used
outside the kernel

modifying linux/if_arp.h:

#ifdef __KERNEL__
#include <linux/netdevice.h>
#endif

resolve the problem

Agri


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/