require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_IN_SELSRC_H)) {
    eval 'sub _NETINET_IN_SELSRC_H () {1;}' unless defined(&_NETINET_IN_SELSRC_H);
    eval 'sub IN_SELECTSRC_LEN () {128;}' unless defined(&IN_SELECTSRC_LEN);
    eval 'sub IN_SCORE_SRC_MAX () {8;}' unless defined(&IN_SCORE_SRC_MAX);
    eval("sub IN_CATEGORY_LINKLOCAL () { 0; }") unless defined(&IN_CATEGORY_LINKLOCAL);
    eval("sub IN_CATEGORY_PRIVATE () { 1; }") unless defined(&IN_CATEGORY_PRIVATE);
    eval("sub IN_CATEGORY_OTHER () { 2; }") unless defined(&IN_CATEGORY_OTHER);
}
1;
