require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SEMAPHORE_H_)) {
    eval 'sub _SEMAPHORE_H_ () {1;}' unless defined(&_SEMAPHORE_H_);
    require 'machine/limits.ph';
    eval 'sub SEM_FAILED () {(( &sem_t *)0);}' unless defined(&SEM_FAILED);
    eval 'sub SEM_VALUE_MAX () { &UINT_MAX;}' unless defined(&SEM_VALUE_MAX);
    unless(defined(&_KERNEL)) {
	require 'sys/cdefs.ph';
    }
}
1;
