mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
FBSD: Set IN_HISTORICAL_NETS before netinet/in.h
FreeBSD commit 20d59403961d531467cfab22163f49c131cc8b55 (kernel: deprecate Internet Class A/B/C) makes it so netinet/in.h only defines IN_CLASSA() and related macros for non-kernel code (or if IN_HISTORICAL_NETS is defined). Define IN_HISTORICAL_NETS to restore the macros for now, so we can still use them in-kernel. Change-Id: I69c354a88506409ab99b5441c76368c0607c6165 Reviewed-on: https://gerrit.openafs.org/15166 Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
403dfd677b
commit
6e92423ba8
@ -33,6 +33,11 @@
|
||||
#include "afs/param.h"
|
||||
|
||||
|
||||
#if defined(AFS_FBSD_ENV) || defined(AFS_USR_FBSD_ENV)
|
||||
/* For IN_CLASSA(), etc. */
|
||||
# define IN_HISTORICAL_NETS
|
||||
#endif
|
||||
|
||||
#include "afs/stds.h"
|
||||
#include "afs/sysincludes.h" /* Standard vendor system headers */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user