require '_h2ph_pre.ph';

unless(defined(&_CYCLOMX_H)) {
    eval 'sub _CYCLOMX_H () {1;}' unless defined(&_CYCLOMX_H);
    require 'linux/config.ph';
    require 'linux/wanrouter.ph';
    require 'linux/spinlock.ph';
    if(defined(&__KERNEL__)) {
	require 'linux/cycx_drv.ph';
	require 'linux/cycx_cfm.ph';
	if(defined(&CONFIG_CYCLOMX_X25)) {
	    require 'linux/cycx_x25.ph';
	}
	unless(defined(&min)) {
	    eval 'sub min {
	        local($a,$b) = @_;
    		eval q(((($a)<($b))?($a):($b)));
	    }' unless defined(&min);
	}
	unless(defined(&max)) {
	    eval 'sub max {
	        local($a,$b) = @_;
    		eval q(((($a)>($b))?($a):($b)));
	    }' unless defined(&max);
	}
	eval 'sub is_digit {
	    local($ch) = @_;
    	    eval q(((($ch)>=ord(\'0\'&&(ch)<=(unsigned)\'9\'))?1:0));
	}' unless defined(&is_digit);
	if(defined(&CONFIG_CYCLOMX_X25)) {
	}
	if(defined(&CONFIG_CYCLOMX_X25)) {
	}
    }
}
1;
