require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_HIBERNATE_H_)) {
    eval 'sub _SYS_HIBERNATE_H_ () {1;}' unless defined(&_SYS_HIBERNATE_H_);
    require 'sys/types.ph';
    require 'sys/tree.ph';
    require 'lib/libz/zlib.ph';
    require 'machine/vmparam.ph';
    eval 'sub HIBERNATE_CHUNK_USED () {1;}' unless defined(&HIBERNATE_CHUNK_USED);
    eval 'sub HIBERNATE_CHUNK_CONFLICT () {2;}' unless defined(&HIBERNATE_CHUNK_CONFLICT);
    eval 'sub HIBERNATE_CHUNK_PLACED () {4;}' unless defined(&HIBERNATE_CHUNK_PLACED);
    eval 'sub HIB_INIT () {-1;}' unless defined(&HIB_INIT);
    eval 'sub HIB_R () {0;}' unless defined(&HIB_R);
    eval 'sub HIB_W () {1;}' unless defined(&HIB_W);
}
1;
