Hide an unused variable in case we compile without INET.

Include ethernet.h directly so that the constants are always defined.
Makes fddi compile without INET.

MFC after:	2 months
This commit is contained in:
bz 2008-11-06 09:07:56 +00:00
parent e680478613
commit cf44c03d50

View File

@ -56,6 +56,7 @@
#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 +696,9 @@ fddi_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