diff src/console.c @ 245:51092a27c943 r20-5b21

Import from CVS: tag r20-5b21
author cvs
date Mon, 13 Aug 2007 10:17:54 +0200
parents 0e522484dd2a
children 405dd6d1825b
line wrap: on
line diff
--- a/src/console.c	Mon Aug 13 10:17:09 2007 +0200
+++ b/src/console.c	Mon Aug 13 10:17:54 2007 +0200
@@ -922,9 +922,9 @@
 */
        (console))
 {
+#ifdef HAVE_TTY
   struct console *c;
 
-#ifdef HAVE_TTY
   c = decode_console (console);
 
   if (CONSOLE_TTY_P (c))
@@ -961,9 +961,9 @@
 */
        (console))
 {
+#ifdef HAVE_TTY
   struct console *c;
 
-#ifdef HAVE_TTY
   c = decode_console (console);
 
   if (CONSOLE_TTY_P (c))