require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_SPI_SPI_IO_H_)) {
    eval 'sub _DEV_SPI_SPI_IO_H_ () {1;}' unless defined(&_DEV_SPI_SPI_IO_H_);
    require 'sys/types.ph';
    require 'sys/ioccom.ph';
    require 'sys/uio.ph';
    eval 'sub SPI_IOCTL_CONFIGURE () { &_IOW(ord(\'S\'), 0,  &spi_ioctl_configure_t);}' unless defined(&SPI_IOCTL_CONFIGURE);
    eval 'sub SPI_IOCTL_TRANSFER () { &_IOW(ord(\'S\'), 1,  &spi_ioctl_transfer_t);}' unless defined(&SPI_IOCTL_TRANSFER);
}
1;
