require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SEARCH_H_)) {
    eval 'sub _SEARCH_H_ () {1;}' unless defined(&_SEARCH_H_);
    require 'sys/cdefs.ph';
    require 'sys/featuretest.ph';
    require 'machine/ansi.ph';
    if(defined(&_BSD_SIZE_T_)) {
	undef(&_BSD_SIZE_T_) if defined(&_BSD_SIZE_T_);
    }
    if(defined(&_NETBSD_SOURCE)) {
    }
    eval("sub FIND () { 0; }") unless defined(&FIND);
    eval("sub ENTER () { 1; }") unless defined(&ENTER);
    eval("sub preorder () { 0; }") unless defined(&preorder);
    eval("sub postorder () { 1; }") unless defined(&postorder);
    eval("sub endorder () { 2; }") unless defined(&endorder);
    eval("sub leaf () { 3; }") unless defined(&leaf);
    if(defined(&_SEARCH_PRIVATE)) {
    }
    unless(defined(&__BSEARCH_DECLARED)) {
	eval 'sub __BSEARCH_DECLARED () {1;}' unless defined(&__BSEARCH_DECLARED);
    }
    if(defined(&_NETBSD_SOURCE)) {
    }
}
1;
