cvs commit: src/contrib/ipfilter/ipsend sock.c

Dag-Erling Smorgrav des at FreeBSD.org
Wed Jul 23 16:35:10 UTC 2008


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


More information about the cvs-src mailing list