From 90c12ec384abf41d00edfab6c959d6b76bb60a6c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 18 Apr 2000 23:02:09 +0000 Subject: [PATCH] Include if_ether.h to get definition of ETHERTYPE_IP. --- common/fddi.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/fddi.c b/common/fddi.c index 4cbfa0ae..d73d4509 100644 --- a/common/fddi.c +++ b/common/fddi.c @@ -43,15 +43,19 @@ #ifndef lint static char copyright[] = -"$Id: fddi.c,v 1.2 2000/04/14 16:24:05 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: fddi.c,v 1.3 2000/04/18 23:02:09 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" -#ifdef DEC_FDDI +#if defined (DEC_FDDI) #include #include +#if defined (PACKET_ASSEMBLY) || defined (PACKET_DECODING) +#include "includes/netinet/if_ether.h" +#endif /* PACKET_ASSEMBLY || PACKET_DECODING */ + #if defined (PACKET_ASSEMBLY) /* Assemble an hardware header... */