From: Keir Fraser Date: Fri, 7 Dec 2007 00:41:54 +0000 (+0000) Subject: Fix ioemu compile: serial.c was including a Linux-specific header. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14645 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=294cce3c9d9c5576ed72bb053f01fc9a83b582f6;p=xen.git Fix ioemu compile: serial.c was including a Linux-specific header. Signed-off-by: John Levon --- diff --git a/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c index eefb9651b1..f66f0a1b3b 100644 --- a/tools/ioemu/hw/serial.c +++ b/tools/ioemu/hw/serial.c @@ -26,10 +26,16 @@ #include #include #include -#include //#define DEBUG_SERIAL +#define TIOCM_DTR 0x002 +#define TIOCM_RTS 0x004 +#define TIOCM_CTS 0x020 +#define TIOCM_CAR 0x040 +#define TIOCM_RI 0x080 +#define TIOCM_DSR 0x100 + #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ #define UART_IER_MSI 0x08 /* Enable Modem status interrupt */