From 8d24d68068f88e144bc70207f2c3e3ec3aa58e39 Mon Sep 17 00:00:00 2001 From: sewardj Date: Wed, 28 Feb 2001 14:24:46 +0000 Subject: [PATCH] [project @ 2001-02-28 14:24:46 by sewardj] Don't do a prototype for tcSetAttr if !HAVE_TERMIOS_H. --- ghc/lib/std/cbits/stgio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/lib/std/cbits/stgio.h b/ghc/lib/std/cbits/stgio.h index 1734b64..14da211 100644 --- a/ghc/lib/std/cbits/stgio.h +++ b/ghc/lib/std/cbits/stgio.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: stgio.h,v 1.25 2001/01/16 14:06:14 simonmar Exp $ + * $Id: stgio.h,v 1.26 2001/02/28 14:24:46 sewardj Exp $ * * (c) The GRASP/AQUA Project, Glasgow University, 1994-1999 * @@ -172,8 +172,8 @@ StgInt write_ (StgForeignPtr ptr, StgAddr buf, StgInt len); /* tcSetAttr.c */ #ifdef HAVE_TERMIOS_H #include -#endif int tcSetAttr (int fd, int options, const struct termios *tp); +#endif #endif /* ! STGIO_H */ -- 1.7.10.4