require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_RQUOTA_H_RPCGEN)) {
    eval 'sub _RQUOTA_H_RPCGEN () {1;}' unless defined(&_RQUOTA_H_RPCGEN);
    eval 'sub RPCGEN_VERSION () {199506;}' unless defined(&RPCGEN_VERSION);
    require 'rpc/rpc.ph';
    eval 'sub RQ_PATHLEN () {1024;}' unless defined(&RQ_PATHLEN);
    eval 'sub RQUOTA_MAXQUOTAS () {0x2;}' unless defined(&RQUOTA_MAXQUOTAS);
    eval 'sub RQUOTA_USRQUOTA () {0x;}' unless defined(&RQUOTA_USRQUOTA);
    eval 'sub RQUOTA_GRPQUOTA () {0x1;}' unless defined(&RQUOTA_GRPQUOTA);
    eval("sub Q_OK () { 1; }") unless defined(&Q_OK);
    eval("sub Q_NOQUOTA () { 2; }") unless defined(&Q_NOQUOTA);
    eval("sub Q_EPERM () { 3; }") unless defined(&Q_EPERM);
    eval 'sub RQUOTAPROG () {100011;}' unless defined(&RQUOTAPROG);
    eval 'sub RQUOTAVERS () {1;}' unless defined(&RQUOTAVERS);
    eval 'sub RQUOTAPROC_GETQUOTA () {1;}' unless defined(&RQUOTAPROC_GETQUOTA);
    eval 'sub RQUOTAPROC_GETACTIVEQUOTA () {2;}' unless defined(&RQUOTAPROC_GETACTIVEQUOTA);
    eval 'sub EXT_RQUOTAVERS () {2;}' unless defined(&EXT_RQUOTAVERS);
}
1;
