ntdll: Don't use TIOCGICOUNT if we don't have linux/serial.h to define the necessary struct.

This commit is contained in:
Alexandre Julliard 2013-07-29 21:08:02 +02:00
parent 581cef082e
commit f7161ebe89
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ typedef struct async_commio
*/
static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info)
{
#ifdef TIOCGICOUNT
#if defined (HAVE_LINUX_SERIAL_H) && defined (TIOCGICOUNT)
struct serial_icounter_struct einfo;
if (!ioctl(fd, TIOCGICOUNT, &einfo))
{