include <net/if.h> earlier

From: Alan Barrett <apb@dont-contact.us>
Date: Wed, 6 Aug 2003 16:54:54 +0200

On FreeBSD using today's squid3-HEAD, I get a compile error in
src/store_dir.cc, where it complains about struct statfs being
undefined.

I tracked it down to failure of the autoconf test for whether
<sys/mount.h> was usable. Including <net/if.h> earlier in the
definition of autoconf's SQUID_BSDNET_INCLUDES macro fixes it; see
attached patch.

--apb (Alan Barrett)

Received on Wed Aug 06 2003 - 08:55:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST