From: Ted Lemon Date: Sat, 29 Nov 1997 07:53:12 +0000 (+0000) Subject: If AF_LINK is defined, need to include if_dl.h X-Git-Tag: DHCP-971202~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eb52994e19a886bdafc262dfc2aeba476d7e443;p=thirdparty%2Fdhcp.git If AF_LINK is defined, need to include if_dl.h --- diff --git a/includes/cf/sunos5-5.h b/includes/cf/sunos5-5.h index 435a9e362..f88084f6d 100644 --- a/includes/cf/sunos5-5.h +++ b/includes/cf/sunos5-5.h @@ -70,6 +70,12 @@ extern int h_errno; #include #include +/* 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 +#endif + /* * Definitions for IP type of service (ip_tos) */