From 17662801ece60bbcc45bbc3cb1fc0fc3070d0d23 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 30 Jul 2010 17:41:35 +0200 Subject: cttyhack: make it survive WERROR build Signed-off-by: Denys Vlasenko --- shell/cttyhack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/cttyhack.c') diff --git a/shell/cttyhack.c b/shell/cttyhack.c index 3a78bae29..7a5e1ffd2 100644 --- a/shell/cttyhack.c +++ b/shell/cttyhack.c @@ -58,7 +58,7 @@ //usage: "\nStarting interactive shell from boot shell script:" //usage: "\n setsid cttyhack sh" -#if !defined(__linux__) && !defined(TIOCGSERIAL) +#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR # warning cttyhack will not be able to detect a controlling tty on this system #endif -- cgit v1.2.3