diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index e54b1131a85a33af7f36d8dd13ee1e3bea241df7..bff2e6d8e4fa9d8ad66e8ad50a00eec6f111e098 100644
--- a/src/modules/files/file.c
+++ b/src/modules/files/file.c
@@ -5,7 +5,7 @@
 \*/
 
 #include "global.h"
-RCSID("$Id: file.c,v 1.130 1998/12/17 00:48:26 mirar Exp $");
+RCSID("$Id: file.c,v 1.131 1998/12/17 02:06:46 mirar Exp $");
 #include "fdlib.h"
 #include "interpret.h"
 #include "svalue.h"
@@ -2311,14 +2311,14 @@ void check_static_file_data(struct callback *a, void *b, void *c)
 }
 #endif
 
-#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H)
+#if defined(HAVE_TERMIOS_H)
 void file_tcgetattr(INT32 args);
 void file_tcsetattr(INT32 args);
-void file_tcsendbreak(INT32 args);
-void file_tcdrain(INT32 args);
-void file_tcflow(INT32 args);
-void file_tcgetpgrp(INT32 args);
-void file_tcsetpgrp(INT32 args);
+/* void file_tcsendbreak(INT32 args); */
+/* void file_tcdrain(INT32 args); */
+/* void file_tcflow(INT32 args); */
+/* void file_tcgetpgrp(INT32 args); */
+/* void file_tcsetpgrp(INT32 args); */
 #endif
 
 void pike_module_init(void)
diff --git a/src/modules/files/file_functions.h b/src/modules/files/file_functions.h
index 8106a46f06bd1586a0ee7e59e85fe0ea4c647a3a..62dd6485d0eeda3aa9652f25023a2f982eee173f 100644
--- a/src/modules/files/file_functions.h
+++ b/src/modules/files/file_functions.h
@@ -55,7 +55,7 @@
   FILE_FUNC("trylock",file_trylock,"function(void|int:object)")
 #endif
 
-#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H)
+#if defined(HAVE_TERMIOS_H)
    FILE_FUNC("tcgetattr",file_tcgetattr,"function(void:mapping)")
    FILE_FUNC("tcsetattr",file_tcsetattr,"function(mapping,void|string:int)")
 /*    FILE_FUNC("tcsendbreak",file_tcsendbreak,"function(int:int)") */
diff --git a/src/modules/files/termios.c b/src/modules/files/termios.c
index bbeb36fa054a525b232aecd5eb79a26af3db7478..22d91db84dcef800ea40de4720827b53f6703202 100644
--- a/src/modules/files/termios.c
+++ b/src/modules/files/termios.c
@@ -1,8 +1,8 @@
 #include "global.h"
-RCSID("$Id: termios.c,v 1.1 1998/12/17 00:48:30 mirar Exp $");
+RCSID("$Id: termios.c,v 1.2 1998/12/17 02:06:50 mirar Exp $");
 #include "file_machine.h"
 
-#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H)
+#if defined(HAVE_TERMIOS_H)
 
 #include <termios.h>
 #include <unistd.h>