Fix for IRIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@79 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -101,7 +101,9 @@ extern struct sysv sysv;
|
|||||||
#include <sys/proc.h>
|
#include <sys/proc.h>
|
||||||
#undef SE
|
#undef SE
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef __sgi
|
||||||
#include <sys/tty.h>
|
#include <sys/tty.h>
|
||||||
|
#endif
|
||||||
#ifdef t_erase
|
#ifdef t_erase
|
||||||
#undef t_erase
|
#undef t_erase
|
||||||
#undef t_kill
|
#undef t_kill
|
||||||
@@ -1354,7 +1356,7 @@ login_tty(t)
|
|||||||
* setsid() call above may have set our pgrp, so clear
|
* setsid() call above may have set our pgrp, so clear
|
||||||
* it out before opening the tty...
|
* it out before opening the tty...
|
||||||
*/
|
*/
|
||||||
# if defined(SOLARIS) || defined(__hpux)
|
# if defined(SOLARIS) || defined(__hpux) || defined(__sgi)
|
||||||
(void) setpgrp();
|
(void) setpgrp();
|
||||||
# else
|
# else
|
||||||
(void) setpgrp(0, 0);
|
(void) setpgrp(0, 0);
|
||||||
|
Reference in New Issue
Block a user