require '_h2ph_pre.ph';

unless(defined(&_LINUX_DEVFS_FS_H)) {
    eval 'sub _LINUX_DEVFS_FS_H () {1;}' unless defined(&_LINUX_DEVFS_FS_H);
    require 'linux/ioctl.ph';
    eval 'sub DEVFSD_PROTOCOL_REVISION_KERNEL () {5;}' unless defined(&DEVFSD_PROTOCOL_REVISION_KERNEL);
    eval 'sub DEVFSD_IOCTL_BASE () {ord(\'d\');}' unless defined(&DEVFSD_IOCTL_BASE);
    eval 'sub DEVFSDIOC_GET_PROTO_REV () { &_IOR( &DEVFSD_IOCTL_BASE, 0, \'int\');}' unless defined(&DEVFSDIOC_GET_PROTO_REV);
    eval 'sub DEVFSDIOC_SET_EVENT_MASK () { &_IOW( &DEVFSD_IOCTL_BASE, 2, \'int\');}' unless defined(&DEVFSDIOC_SET_EVENT_MASK);
    eval 'sub DEVFSDIOC_RELEASE_EVENT_QUEUE () { &_IOW( &DEVFSD_IOCTL_BASE, 3, \'int\');}' unless defined(&DEVFSDIOC_RELEASE_EVENT_QUEUE);
    eval 'sub DEVFSDIOC_SET_DEBUG_MASK () { &_IOW( &DEVFSD_IOCTL_BASE, 4, \'int\');}' unless defined(&DEVFSDIOC_SET_DEBUG_MASK);
    eval 'sub DEVFSD_NOTIFY_REGISTERED () {0;}' unless defined(&DEVFSD_NOTIFY_REGISTERED);
    eval 'sub DEVFSD_NOTIFY_UNREGISTERED () {1;}' unless defined(&DEVFSD_NOTIFY_UNREGISTERED);
    eval 'sub DEVFSD_NOTIFY_ASYNC_OPEN () {2;}' unless defined(&DEVFSD_NOTIFY_ASYNC_OPEN);
    eval 'sub DEVFSD_NOTIFY_CLOSE () {3;}' unless defined(&DEVFSD_NOTIFY_CLOSE);
    eval 'sub DEVFSD_NOTIFY_LOOKUP () {4;}' unless defined(&DEVFSD_NOTIFY_LOOKUP);
    eval 'sub DEVFSD_NOTIFY_CHANGE () {5;}' unless defined(&DEVFSD_NOTIFY_CHANGE);
    eval 'sub DEVFSD_NOTIFY_CREATE () {6;}' unless defined(&DEVFSD_NOTIFY_CREATE);
    eval 'sub DEVFS_PATHLEN () {1024;}' unless defined(&DEVFS_PATHLEN);
}
1;
