mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
ntdll: Don't use TIOCGICOUNT if we don't have linux/serial.h to define the necessary struct.
This commit is contained in:
parent
581cef082e
commit
f7161ebe89
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user