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

[Xen-changelog] [xen-unstable] Fix ioemu compile: serial.c was including a Linux-specific header.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196988114 0
# Node ID ec61ca6cd55b03c21e2b90c7a4f6611f26b41d2b
# Parent  b240698146a250d7f7cd5309325d743e9ec6f4d8
Fix ioemu compile: serial.c was including a Linux-specific header.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/ioemu/hw/serial.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletion(-)

diff -r b240698146a2 -r ec61ca6cd55b tools/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c   Thu Dec 06 17:47:53 2007 +0000
+++ b/tools/ioemu/hw/serial.c   Fri Dec 07 00:41:54 2007 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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