IPv6addr: Check for netinet/icmp6.h instead of linux/icmpv6.h Configure currently checks for asm/types.h+netinet/icmp6.h, however this check fails on debian ia64. Changing the check to sys/types.h+netinet/icmp6.h resolves the problem for Debian, but breaks RHEL 4.
IPv6addr: Check for netinet/icmp6.h instead of linux/icmpv6.h
Configure currently checks for asm/types.h+netinet/icmp6.h,
however this check fails on debian ia64. Changing the check
to sys/types.h+netinet/icmp6.h resolves the problem for Debian,
but breaks RHEL 4.

http://developerbugs.linux-foundation.org/show_bug.cgi?id=1660

This revised check looks for sys/types.h+netinet/icmp6.h which
is more or less what resources/OCF/IPv6addr.c actually uses,
so hopefully this check keeps all the relevant parties happy.

Tuomo, could you check this patch and see if it causes you pain?

Cc: Alan Robertson <alanr@unix.sh>
Acked-by: Tuomo Soini <tis@foobar.fi>
Signed-off-by: Simon Horman <horms@verge.net.au>

--HG--
extra : convert_revision : 45a1c405402db63bfe253cf75f5b0cc13f1ae590

asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents