FBSD: catch up to 1997 and include if_var.h with if.h
commita983bca3ed7efc4c63d796c8440995531522324c
authorBenjamin Kaduk <kaduk@mit.edu>
Fri, 24 Jan 2014 17:00:20 +0000 (24 12:00 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 9 Apr 2014 14:36:57 +0000 (9 07:36 -0700)
tree352c0e0584a48f8e60a425a6b56d8d141afa4432
parentdcf389d3ec3c84f4d07f8f9d98cb0835a9b72b28
FBSD: catch up to 1997 and include if_var.h with if.h

The commit message for upstream's r257244 change includes:
 - Make the prophecy from 1997 happen and remove if_var.h inclusion
   from if.h.
Despite the clear public posting, we were caught unawares.  We made
it down to the cellar despite the missing stairs, but "Beware of
the Leopard" caused us to turn back, apparently.

Since if.h is included in many places and if_var.h is not present
on all OSes, pull the if.h inclusion into the common kernel headers
for afs/ and rx/ , and add in if_var.h (as well as the sys/socket.h
prerequisite).

Reviewed-on: http://gerrit.openafs.org/10754
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 8817308a87ca76bc47a0f5564b97c7942b3be04a)

Change-Id: I8a03c7b2a0fe54f987b6d63cac19980f66c80e9d
Reviewed-on: http://gerrit.openafs.org/10987
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/sysincludes.h
src/rx/rx_kcommon.h