require '_h2ph_pre.ph';

unless(defined(&_SYS_FILE_H)) {
    eval 'sub _SYS_FILE_H () {1;}' unless defined(&_SYS_FILE_H);
    require 'features.ph';
    unless(defined(&_FCNTL_H)) {
	require 'fcntl.ph';
    }
    unless(defined(&L_SET)) {
	eval 'sub L_SET () {0;}' unless defined(&L_SET);
	eval 'sub L_INCR () {1;}' unless defined(&L_INCR);
	eval 'sub L_XTND () {2;}' unless defined(&L_XTND);
    }
    eval 'sub LOCK_SH () {1;}' unless defined(&LOCK_SH);
    eval 'sub LOCK_EX () {2;}' unless defined(&LOCK_EX);
    eval 'sub LOCK_UN () {8;}' unless defined(&LOCK_UN);
    eval 'sub LOCK_NB () {4;}' unless defined(&LOCK_NB);
}
1;
