On Thu, Dec 06, 2007 at 07:35:20PM +0000, John Levon wrote:
> On Thu, Dec 06, 2007 at 11:31:35AM -0800,
john.levon@xxxxxxx wrote:
>
> > 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>
>
> Erm, or it looks like just making this be <sys/termios.h> will work too
Definitely. Including asm/ headers directly on Linux is frowned upon.