require '_h2ph_pre.ph';

no warnings qw(redefine misc);

if(defined(&__NetBSD__)  && (defined(&_KERNEL) || defined(&_STANDALONE))) {
    require 'lib/libkern/libkern.ph';
    require 'sys/errno.ph';
    eval 'sub ppath_assert {
        my($__x) = @_;
	    eval q( &KASSERT($__x));
    }' unless defined(&ppath_assert);
} else {
    require 'assert.ph';
    require 'errno.ph';
    require 'stdlib.ph';
    require 'string.ph';
    eval 'sub ppath_assert {
        my($__x) = @_;
	    eval q( &assert($__x));
    }' unless defined(&ppath_assert);
}
1;
