Commit f7161ebe authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 581cef08
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment