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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2011-01-14 14:52:10 -06:00 committed by Derrick Brashear
parent 2045653647
commit 9cc9b0d618

View File

@ -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"