require '_h2ph_pre.ph';

unless(defined(&__CRAMFS_H)) {
    eval 'sub __CRAMFS_H () {1;}' unless defined(&__CRAMFS_H);
    unless(defined(&__KERNEL__)) {
    }
    eval 'sub CRAMFS_MAGIC () {0x28cd3d45;}' unless defined(&CRAMFS_MAGIC);
    eval 'sub CRAMFS_SIGNATURE () {"Compressed ROMFS";}' unless defined(&CRAMFS_SIGNATURE);
    eval 'sub CRAMFS_MODE_WIDTH () {16;}' unless defined(&CRAMFS_MODE_WIDTH);
    eval 'sub CRAMFS_UID_WIDTH () {16;}' unless defined(&CRAMFS_UID_WIDTH);
    eval 'sub CRAMFS_SIZE_WIDTH () {24;}' unless defined(&CRAMFS_SIZE_WIDTH);
    eval 'sub CRAMFS_GID_WIDTH () {8;}' unless defined(&CRAMFS_GID_WIDTH);
    eval 'sub CRAMFS_NAMELEN_WIDTH () {6;}' unless defined(&CRAMFS_NAMELEN_WIDTH);
    eval 'sub CRAMFS_OFFSET_WIDTH () {26;}' unless defined(&CRAMFS_OFFSET_WIDTH);
    eval 'sub CRAMFS_FLAG_FSID_VERSION_2 () {0x1;}' unless defined(&CRAMFS_FLAG_FSID_VERSION_2);
    eval 'sub CRAMFS_FLAG_SORTED_DIRS () {0x2;}' unless defined(&CRAMFS_FLAG_SORTED_DIRS);
    eval 'sub CRAMFS_FLAG_HOLES () {0x100;}' unless defined(&CRAMFS_FLAG_HOLES);
    eval 'sub CRAMFS_FLAG_WRONG_SIGNATURE () {0x200;}' unless defined(&CRAMFS_FLAG_WRONG_SIGNATURE);
    eval 'sub CRAMFS_FLAG_SHIFTED_ROOT_OFFSET () {0x400;}' unless defined(&CRAMFS_FLAG_SHIFTED_ROOT_OFFSET);
    eval 'sub CRAMFS_SUPPORTED_FLAGS () {(0x7ff);}' unless defined(&CRAMFS_SUPPORTED_FLAGS);
}
1;
