require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_POOL_H_)) {
    eval 'sub _SYS_POOL_H_ () {1;}' unless defined(&_SYS_POOL_H_);
    eval 'sub KERN_POOL_NPOOLS () {1;}' unless defined(&KERN_POOL_NPOOLS);
    eval 'sub KERN_POOL_NAME () {2;}' unless defined(&KERN_POOL_NAME);
    eval 'sub KERN_POOL_POOL () {3;}' unless defined(&KERN_POOL_POOL);
    require 'sys/queue.ph';
    require 'sys/time.ph';
    require 'sys/tree.ph';
    require 'sys/mutex.ph';
    eval 'sub PR_MALLOCOK () {0x1;}' unless defined(&PR_MALLOCOK);
    eval 'sub PR_NOWAIT () {0x;}' unless defined(&PR_NOWAIT);
    eval 'sub PR_WAITOK () {0x2;}' unless defined(&PR_WAITOK);
    eval 'sub PR_WANTED () {0x4;}' unless defined(&PR_WANTED);
    eval 'sub PR_PHINPAGE () {0x8;}' unless defined(&PR_PHINPAGE);
    eval 'sub PR_LOGGING () {0x10;}' unless defined(&PR_LOGGING);
    eval 'sub PR_LIMITFAIL () {0x20;}' unless defined(&PR_LIMITFAIL);
    eval 'sub PR_DEBUG () {0x40;}' unless defined(&PR_DEBUG);
    eval 'sub PR_ZERO () {0x100;}' unless defined(&PR_ZERO);
    if(defined(&_KERNEL)) {
	if(defined(&DDB)) {
	}
    }
}
1;
