Date: Wed, 23 Jul 2008 16:34:53 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/ipfilter/ipsend sock.c Message-ID: <200807231635.m6NGZ9Hp020158@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2008-07-23 16:34:53 UTC
FreeBSD src repository
Modified files:
contrib/ipfilter/ipsend sock.c
Log:
SVN rev 180761 on 2008-07-23 16:34:53Z by des
For unfathomable reasons, ipfilter abuses kernel data structures for its
own purposes. To pull this off, it defines _KERNEL before including the
headers where these structures are defined. This leads to no end of
trouble when some of these headers, or other headers that they include,
change, as demonstrated by r180755.
The quick fix in this particular case is to define _WANT_FILE instead of
_KERNEL, conditional on __FreeBSD__. A better long-term fix is left as
an exercise to the reader.
Revision Changes Path
1.20 +12 -4 src/contrib/ipfilter/ipsend/sock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807231635.m6NGZ9Hp020158>
