summaryrefslogtreecommitdiffstats
path: root/drivers/char/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pty.c')
-rw-r--r--drivers/char/pty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index a7ea98497..0b27057a1 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -336,7 +336,9 @@ static void pty_set_termios(struct tty_struct *tty, struct termios *old_termios)
__initfunc(int pty_init(void))
{
+#ifdef CONFIG_UNIX98_PTYS
int i;
+#endif
/* Traditional BSD devices */