From 9cc9b0d618ba1c787a8a684077c1d2f205b8889c Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 14 Jan 2011 14:52:10 -0600 Subject: [PATCH] RX: Include netinet/ip6.h before inet/ip.h Some older Solaris (at least some Solaris 8) requires netinet/ip6.h to be included before inet/ip.h, or the compiler chokes on some ipv6-related declarations in inet/ip.h. So, include it. Change-Id: Icabc32c093fab5e3442701b2ea6ae593d7fceb7e Reviewed-on: http://gerrit.openafs.org/3662 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/rx/rx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rx/rx.c b/src/rx/rx.c index cb2da3be0b..76a249e037 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -23,6 +23,9 @@ # include "h/socket.h" # endif # include "netinet/in.h" +# ifdef AFS_SUN58_ENV +# include "netinet/ip6.h" +# endif # ifdef AFS_SUN57_ENV # include "inet/common.h" # include "inet/ip.h"