Fix for IRIX

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@79 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1995-08-15 09:12:55 +00:00
parent c23bf1292a
commit d34a4a9f5f

View File

@@ -101,7 +101,9 @@ extern struct sysv sysv;
#include <sys/proc.h>
#undef SE
#endif
#ifndef __sgi
#include <sys/tty.h>
#endif
#ifdef t_erase
#undef t_erase
#undef t_kill
@@ -1354,7 +1356,7 @@ login_tty(t)
* setsid() call above may have set our pgrp, so clear
* it out before opening the tty...
*/
# if defined(SOLARIS) || defined(__hpux)
# if defined(SOLARIS) || defined(__hpux) || defined(__sgi)
(void) setpgrp();
# else
(void) setpgrp(0, 0);