diff --git a/src/process.c b/src/process.c index 8ff0a038638..191425e98fb 100644 --- a/src/process.c +++ b/src/process.c @@ -1290,7 +1290,7 @@ create_process (process, new_argv, current_dir) setpgrp (); #endif /* USG */ #endif /* not HAVE_SETSID */ -#if defined (NTTYDISC) || defined (TIOCSETD) +#if defined (NTTYDISC) && defined (TIOCSETD) if (pty_flag && xforkin >= 0) { /* Use new line discipline. */