require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NET_AGR_IF_AGRIOCTL_H_)) {
    eval 'sub _NET_AGR_IF_AGRIOCTL_H_ () {1;}' unless defined(&_NET_AGR_IF_AGRIOCTL_H_);
    eval 'sub AGRREQ_VERSION () {2;}' unless defined(&AGRREQ_VERSION);
    eval 'sub AGRCMD_ADDPORT () {1;}' unless defined(&AGRCMD_ADDPORT);
    eval 'sub AGRCMD_REMPORT () {2;}' unless defined(&AGRCMD_REMPORT);
    eval 'sub SIOCSETAGR () { &SIOCSIFGENERIC;}' unless defined(&SIOCSETAGR);
    eval 'sub AGRCMD_PORTLIST () {3;}' unless defined(&AGRCMD_PORTLIST);
    eval 'sub SIOCGETAGR () { &SIOCGIFGENERIC;}' unless defined(&SIOCGETAGR);
    eval 'sub AGRPORTINFO_COLLECTING () {1;}' unless defined(&AGRPORTINFO_COLLECTING);
    eval 'sub AGRPORTINFO_DISTRIBUTING () {2;}' unless defined(&AGRPORTINFO_DISTRIBUTING);
    eval 'sub AGRPORTINFO_BITS () {"\\177\\020" "b\\0COLLECTING\\0" "b\\0DISTRIBUTING\\0";}' unless defined(&AGRPORTINFO_BITS);
}
1;
