require '_h2ph_pre.ph';

unless(defined(&WSEVENT_QSIZE)) {
    sub WSEVENT_QSIZE () {	256;}
}
unless(defined(&splwsevent)) {
    sub splwsevent () {
	eval q( &spltty());
    }
}
unless(defined(&WSEVENT_WAKEUP)) {
    sub WSEVENT_WAKEUP {
	local($ev) = @_;
	eval q({  &selwakeup(&-> &sel);  &if (-> &wanted) { -> &wanted = 0;  &wakeup(($ev)); }  &if (($ev)-> &async)  &psignal(($ev)-> &io,  &SIGIO); });
    }
}
unless(defined(&PWSEVENT)) {
    sub PWSEVENT () {	23;}
}
1;
