From: sewardj Date: Wed, 28 Feb 2001 14:24:46 +0000 (+0000) Subject: [project @ 2001-02-28 14:24:46 by sewardj] X-Git-Tag: Approximately_9120_patches~2514 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8d24d68068f88e144bc70207f2c3e3ec3aa58e39;p=ghc-hetmet.git [project @ 2001-02-28 14:24:46 by sewardj] Don't do a prototype for tcSetAttr if !HAVE_TERMIOS_H. --- 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 */