[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix ioemu compile



# HG changeset patch
# User john.levon@xxxxxxx
# Date 1196969481 28800
# Node ID 2c28ac4db1f7542220b1472821e8631b79b6a23a
# Parent  4a98d4b6e4daccd610175e3c0f8cab49b056c649
Fix ioemu compile

serial.c was including another Linux-specific header.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c
+++ b/tools/ioemu/hw/serial.c
@@ -26,9 +26,15 @@
 #include <sys/time.h>
 #include <time.h>
 #include <assert.h>
-#include <asm/termios.h>
 
 //#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 */
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.