[1172] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5b4pl3: appl/bsd/{krlogin,krlogind}.c need on suns

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Mar 14 14:48:42 1995

From: "Jonathan I. Kamens" <jik@cam.ov.com>
Date: Tue, 14 Mar 1995 14:51:44 -0500
To: krb5-bugs@MIT.EDU

I found that I got compilation errors from krlogin and krlogind on
SunOS unless I made the following change.  Perhaps this isn't the
"correct" way to do this, what with configure and all, but it works
for me:

--- appl/bsd/krlogin.c	1995/03/13 23:29:15	1.7
+++ appl/bsd/krlogin.c	1995/03/14 19:30:20
@@ -89,6 +89,9 @@
 /****** MWE *****/
 /* formerly __svr4__ but that's not defined by suncc */
 #if defined(HAVE_SYS_TTY_H) && defined(HAVE_SYS_TTOLD_H)
+#ifdef sun
+#include <sys/stream.h>
+#endif
 #include <sys/tty.h>
 #include <sys/ttold.h>
 #ifdef HAVE_SYS_PTYVAR_H
--- appl/bsd/krlogind.c	1995/03/14 00:32:27	1.13
+++ appl/bsd/krlogind.c	1995/03/14 19:32:21
@@ -164,6 +164,9 @@
 #include <utmp.h>
      
 #ifdef HAVE_SYS_TTY_H
+#ifdef sun
+#include <sys/stream.h>
+#endif
 #include <sys/tty.h>
 #endif
 

home help back first fref pref prev next nref lref last post