mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Hide an unused variable in case we compile without INET.
Include ethernet.h and if_arp.h directly so that the constants are always defined. Makes token compile without INET. MFC after: 2 months
This commit is contained in:
parent
41d9907a4b
commit
9939ceb05c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184710
@ -55,10 +55,12 @@
|
||||
#include <sys/sockio.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_llc.h>
|
||||
#include <net/if_types.h>
|
||||
|
||||
#include <net/ethernet.h>
|
||||
#include <net/netisr.h>
|
||||
#include <net/route.h>
|
||||
#include <net/bpf.h>
|
||||
@ -695,7 +697,9 @@ iso88025_resolvemulti (ifp, llsa, sa)
|
||||
struct sockaddr *sa;
|
||||
{
|
||||
struct sockaddr_dl *sdl;
|
||||
#ifdef INET
|
||||
struct sockaddr_in *sin;
|
||||
#endif
|
||||
#ifdef INET6
|
||||
struct sockaddr_in6 *sin6;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user