require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_UNPCB_H_)) {
    eval 'sub _SYS_UNPCB_H_ () {1;}' unless defined(&_SYS_UNPCB_H_);
    require 'sys/un.ph';
    require 'sys/mutex.ph';
    eval 'sub UNP_OWANTCRED () {0x1;}' unless defined(&UNP_OWANTCRED);
    eval 'sub UNP_CONNWAIT () {0x2;}' unless defined(&UNP_CONNWAIT);
    eval 'sub UNP_EIDSVALID () {0x4;}' unless defined(&UNP_EIDSVALID);
    eval 'sub UNP_EIDSBIND () {0x8;}' unless defined(&UNP_EIDSBIND);
    eval 'sub UNP_BUSY () {0x10;}' unless defined(&UNP_BUSY);
    eval 'sub UNP_WANTCRED () {0x20;}' unless defined(&UNP_WANTCRED);
    eval 'sub sotounpcb {
        my($so) = @_;
	    eval q(((($so)-> &so_pcb)));
    }' unless defined(&sotounpcb);
}
1;
