From 3eb52994e19a886bdafc262dfc2aeba476d7e443 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sat, 29 Nov 1997 07:53:12 +0000 Subject: [PATCH] If AF_LINK is defined, need to include if_dl.h --- includes/cf/sunos5-5.h | 6 ++++++ 1 file changed, 6 insertions(+) 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) */ -- 2.47.2