require '_h2ph_pre.ph';

unless(defined(&_LINUX_FCNTL_H)) {
    eval 'sub _LINUX_FCNTL_H () {1;}' unless defined(&_LINUX_FCNTL_H);
    require 'asm/fcntl.ph';
    eval 'sub F_SETLEASE () {( &F_LINUX_SPECIFIC_BASE+0);}' unless defined(&F_SETLEASE);
    eval 'sub F_GETLEASE () {( &F_LINUX_SPECIFIC_BASE+1);}' unless defined(&F_GETLEASE);
    eval 'sub F_NOTIFY () {( &F_LINUX_SPECIFIC_BASE+2);}' unless defined(&F_NOTIFY);
    eval 'sub DN_ACCESS () {0x1;}' unless defined(&DN_ACCESS);
    eval 'sub DN_MODIFY () {0x2;}' unless defined(&DN_MODIFY);
    eval 'sub DN_CREATE () {0x4;}' unless defined(&DN_CREATE);
    eval 'sub DN_DELETE () {0x8;}' unless defined(&DN_DELETE);
    eval 'sub DN_RENAME () {0x10;}' unless defined(&DN_RENAME);
    eval 'sub DN_ATTRIB () {0x20;}' unless defined(&DN_ATTRIB);
    eval 'sub DN_MULTISHOT () {0x80000000;}' unless defined(&DN_MULTISHOT);
}
1;
