]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
RX: Include netinet/ip6.h before inet/ip.h
authorAndrew Deason <adeason@sinenomine.net>
Fri, 14 Jan 2011 20:52:10 +0000 (14:52 -0600)
committerDerrick Brashear <shadow@dementia.org>
Sat, 19 Feb 2011 04:04:41 +0000 (20:04 -0800)
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.

Reviewed-on: http://gerrit.openafs.org/3662
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 9cc9b0d618ba1c787a8a684077c1d2f205b8889c)

Change-Id: Ic342a8ff9dc4c52c8f7178f103db93ba9bef6712
Reviewed-on: http://gerrit.openafs.org/3990
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c

index 9b404a1095a0d3b9e2f7715b80e310b22695ef2c..1dabfb034e4e9287f4171e58da25bed7859ffee5 100644 (file)
@@ -31,6 +31,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"