]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
If AF_LINK is defined, need to include if_dl.h
authorTed Lemon <source@isc.org>
Sat, 29 Nov 1997 07:53:12 +0000 (07:53 +0000)
committerTed Lemon <source@isc.org>
Sat, 29 Nov 1997 07:53:12 +0000 (07:53 +0000)
includes/cf/sunos5-5.h

index 435a9e36242698b788bcef90cc8c5bb151cd2d7c..f88084f6d9eea62e44f88699f59f4ef28ed96913 100644 (file)
@@ -70,6 +70,12 @@ extern int h_errno;
 #include <net/if.h>
 #include <net/if_arp.h>
 
+/* Solaris 2.6 defines AF_LINK, so we need the rest of the baggage that
+   comes with it, but of course Solaris 2.5 and previous do not. */
+#if defined (AF_LINK)
+#include <net/if_dl.h>
+#endif
+
 /*
  * Definitions for IP type of service (ip_tos)
  */