Blob Blame Raw
--- ./src/sysfiles.c.orig	2008-12-14 14:25:54.000000000 -0700
+++ ./src/sysfiles.c	2011-12-30 15:12:00.360374500 -0700
@@ -1523,7 +1523,7 @@ extern void syStopraw (
 **  to cooked mode before stopping GAP and back to raw mode when continueing.
 */
 
-#if !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H)
+#if !HAVE_TERMIOS_H && !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H)
 
 #ifndef SYS_SGTTY_H                     /* terminal control functions      */
 # include       <sgtty.h>
@@ -2072,7 +2072,7 @@ UInt syStartraw (
 **
 *f  syStopraw( <fid> )  . . . . . . . . . . . . . . . . . . . . . .  BSD/MACH
 */
-#if !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H)
+#if !HAVE_TERMIOS_H && !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H)
 
 void syStopraw (
     Int                 fid )