require '_h2ph_pre.ph';

unless(defined(&CONSOPT_X25CRUD)) {
    sub CONSOPT_X25CRUD () {	0x1;}
}
if(defined(&_KERNEL)) {
    eval 'sub CONN_OPEN () {0x33;}' unless defined(&CONN_OPEN);
    eval 'sub CONN_CONFIRM () {0x30;}' unless defined(&CONN_CONFIRM);
    eval 'sub CONN_REFUSE () {0x31;}' unless defined(&CONN_REFUSE);
    eval 'sub CONN_CLOSE () {0x32;}' unless defined(&CONN_CLOSE);
    eval 'sub CONS_IS_DGM () {0x1;}' unless defined(&CONS_IS_DGM);
    eval 'sub CONS_NOT_DGM () {0x;}' unless defined(&CONS_NOT_DGM);
    unless(defined(&PRC_NCMDS)) {
	require 'sys/protosw.ph';
    }
    eval 'sub PRC_CONS_SEND_DONE () {2;}' unless defined(&PRC_CONS_SEND_DONE);
}
1;
