diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-30 17:41:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-30 17:41:35 +0200 |
commit | 17662801ece60bbcc45bbc3cb1fc0fc3070d0d23 (patch) | |
tree | e6e179d3a407d9d3abb20bf423e8e34f33d41dbd | |
parent | 430ba79c39eeed4725c36e9c2ad61c438c8a5d3e (diff) | |
download | busybox-w32-17662801ece60bbcc45bbc3cb1fc0fc3070d0d23.tar.gz busybox-w32-17662801ece60bbcc45bbc3cb1fc0fc3070d0d23.tar.bz2 busybox-w32-17662801ece60bbcc45bbc3cb1fc0fc3070d0d23.zip |
cttyhack: make it survive WERROR build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/cttyhack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
58 | //usage: "\nStarting interactive shell from boot shell script:" | 58 | //usage: "\nStarting interactive shell from boot shell script:" |
59 | //usage: "\n setsid cttyhack sh" | 59 | //usage: "\n setsid cttyhack sh" |
60 | 60 | ||
61 | #if !defined(__linux__) && !defined(TIOCGSERIAL) | 61 | #if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR |
62 | # warning cttyhack will not be able to detect a controlling tty on this system | 62 | # warning cttyhack will not be able to detect a controlling tty on this system |
63 | #endif | 63 | #endif |
64 | 64 | ||