diff --git a/appl/rsh/rsh_locl.h b/appl/rsh/rsh_locl.h index befb05e66..196f76bd7 100644 --- a/appl/rsh/rsh_locl.h +++ b/appl/rsh/rsh_locl.h @@ -51,6 +51,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_WAIT_H +#include +#endif #ifdef HAVE_SYS_SELECT_H #include #endif @@ -113,7 +116,7 @@ * */ -enum auth_method { AUTH_KRB4, AUTH_KRB5 }; +enum auth_method { AUTH_KRB4, AUTH_KRB5, AUTH_BROKEN }; extern enum auth_method auth_method; extern int do_encrypt; @@ -129,6 +132,8 @@ extern des_cblock iv; #define RSH_BUFSIZ 10240 +#define PATH_RSH BINDIR "/rsh" + ssize_t do_read (int fd, void *buf, size_t sz); ssize_t do_write (int fd, void *buf, size_t sz); ssize_t net_read (int fd, void *buf, size_t len);