From: Ezra Peisach Date: Fri, 8 Jun 2001 15:49:48 +0000 (+0000) Subject: * main.c: Include unistd.h (if present) for getopt() prototype X-Git-Tag: krb5-1.3-alpha1~1456 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d680e63a1ec4e778a3e2e89af5c361480247b713;p=krb5.git * main.c: Include unistd.h (if present) for getopt() prototype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13306 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 78d48a9b3..3254abe7d 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,7 @@ +2001-06-08 Ezra Peisach + + * main.c: Include unistd.h (if present) for getopt() prototype. + 2001-06-07 Ezra Peisach * authenc.c (telnet_gets): Cleanup assignment in conditional. diff --git a/src/appl/telnet/telnet/main.c b/src/appl/telnet/telnet/main.c index f6b8d1c13..80a80848e 100644 --- a/src/appl/telnet/telnet/main.c +++ b/src/appl/telnet/telnet/main.c @@ -39,6 +39,9 @@ char copyright[] = /* based on @(#)main.c 5.5 (Berkeley) 12/18/92 */ +#ifdef HAVE_UNISTD_H +#include +#endif #include #include #ifdef ENCRYPTION @@ -52,6 +55,7 @@ char copyright[] = #include "defines.h" + #if 0 #define FORWARD #endif