require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_QUOTA_H_)) {
    eval 'sub _SYS_QUOTA_H_ () {1;}' unless defined(&_SYS_QUOTA_H_);
    require 'sys/types.ph';
    eval 'sub QUOTA_IDTYPE_USER () {0;}' unless defined(&QUOTA_IDTYPE_USER);
    eval 'sub QUOTA_IDTYPE_GROUP () {1;}' unless defined(&QUOTA_IDTYPE_GROUP);
    eval 'sub QUOTA_OBJTYPE_BLOCKS () {0;}' unless defined(&QUOTA_OBJTYPE_BLOCKS);
    eval 'sub QUOTA_OBJTYPE_FILES () {1;}' unless defined(&QUOTA_OBJTYPE_FILES);
    eval 'sub QUOTA_DEFAULTID () {(( &id_t)-1);}' unless defined(&QUOTA_DEFAULTID);
    eval 'sub QUOTA_NOLIMIT () {(( &uint64_t)0xffffffffffffffff);}' unless defined(&QUOTA_NOLIMIT);
    eval 'sub QUOTA_NOTIME () {(( &time_t)-1);}' unless defined(&QUOTA_NOTIME);
    eval 'sub QUOTA_RESTRICT_NEEDSQUOTACHECK () {0x1;}' unless defined(&QUOTA_RESTRICT_NEEDSQUOTACHECK);
    eval 'sub QUOTA_RESTRICT_UNIFORMGRACE () {0x2;}' unless defined(&QUOTA_RESTRICT_UNIFORMGRACE);
    eval 'sub QUOTA_RESTRICT_32BIT () {0x4;}' unless defined(&QUOTA_RESTRICT_32BIT);
    eval 'sub QUOTA_RESTRICT_READONLY () {0x8;}' unless defined(&QUOTA_RESTRICT_READONLY);
}
1;
