require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DUMPRESTORE_H_)) {
    eval 'sub _DUMPRESTORE_H_ () {1;}' unless defined(&_DUMPRESTORE_H_);
    eval 'sub TP_BSIZE () {1024;}' unless defined(&TP_BSIZE);
    eval 'sub NTREC () {10;}' unless defined(&NTREC);
    eval 'sub HIGHDENSITYTREC () {32;}' unless defined(&HIGHDENSITYTREC);
    eval 'sub TP_NINDIR () {( &TP_BSIZE/2);}' unless defined(&TP_NINDIR);
    eval 'sub LBLSIZE () {16;}' unless defined(&LBLSIZE);
    eval 'sub NAMELEN () {64;}' unless defined(&NAMELEN);
    eval 'sub OFS_MAGIC () {60011;}' unless defined(&OFS_MAGIC);
    eval 'sub NFS_MAGIC () {60012;}' unless defined(&NFS_MAGIC);
    eval 'sub CHECKSUM () {84446;}' unless defined(&CHECKSUM);
    eval 'sub spcl () { ($u_spcl->{s_spcl});}' unless defined(&spcl);
    eval 'sub TS_TAPE () {1;}' unless defined(&TS_TAPE);
    eval 'sub TS_INODE () {2;}' unless defined(&TS_INODE);
    eval 'sub TS_ADDR () {4;}' unless defined(&TS_ADDR);
    eval 'sub TS_BITS () {3;}' unless defined(&TS_BITS);
    eval 'sub TS_CLRI () {6;}' unless defined(&TS_CLRI);
    eval 'sub TS_END () {5;}' unless defined(&TS_END);
    eval 'sub DR_NEWHEADER () {0x1;}' unless defined(&DR_NEWHEADER);
    eval 'sub DR_NEWINODEFMT () {0x2;}' unless defined(&DR_NEWINODEFMT);
    eval 'sub DUMPOUTFMT () {"%-16s %c %s";}' unless defined(&DUMPOUTFMT);
    eval 'sub DUMPINFMT () {"%16s %c %[^\\n]\\n";}' unless defined(&DUMPINFMT);
}
1;
