]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Include if_ether.h to get definition of ETHERTYPE_IP.
authorTed Lemon <source@isc.org>
Tue, 18 Apr 2000 23:02:09 +0000 (23:02 +0000)
committerTed Lemon <source@isc.org>
Tue, 18 Apr 2000 23:02:09 +0000 (23:02 +0000)
common/fddi.c

index 4cbfa0aeaea87407c91d37c865726a7634c6d70b..d73d4509f2712d26fb41bc3eb2282bd4682c98c4 100644 (file)
 
 #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 <netinet/if_fddi.h>
 #include <net/if_llc.h>
 
+#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... */