From: Ted Lemon Date: Tue, 18 Apr 2000 23:02:09 +0000 (+0000) Subject: Include if_ether.h to get definition of ETHERTYPE_IP. X-Git-Tag: V3-BETA-2-PATCH-1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90c12ec384abf41d00edfab6c959d6b76bb60a6c;p=thirdparty%2Fdhcp.git Include if_ether.h to get definition of ETHERTYPE_IP. --- diff --git a/common/fddi.c b/common/fddi.c index 4cbfa0aea..d73d4509f 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... */