Make sure the most common IPPROTO_* constants are always available.
authorGisle Aas <gisle@activestate.com>
Wed, 18 Jan 2006 11:57:07 +0000 (11:57 +0000)
committerGisle Aas <gisle@activestate.com>
Wed, 18 Jan 2006 11:57:07 +0000 (11:57 +0000)
commit29f89f3391e105f07954be37fe4e0bb5825d7b97
tree71e9302dc535f71f45c37032808c0ad08f871bc6
parentc685562bbea16b50d5c72976dbb3224d4d88fbea
Make sure the most common IPPROTO_* constants are always available.
These are well known numbers so it should not be a problem to
hardcode values when no constant is provided by the C library.
Ref <http://www.iana.org/assignments/protocol-numbers>.

On some old glibc systems (eg Redhat 6) IPPROTO_TCP is an enum only
and this change workaround that problem as well.

p4raw-id: //depot/perl@26897
ext/Socket/Makefile.PL