* main.c: Include unistd.h (if present) for getopt() prototype
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 15:49:48 +0000 (15:49 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 15:49:48 +0000 (15:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13306 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/main.c

index 78d48a9b3a252be67702884996bcd7943bb5de09..3254abe7d59596bdc00e7df78d15af9fd30add81 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * main.c: Include unistd.h (if present) for getopt() prototype.
+
 2001-06-07  Ezra Peisach  <epeisach@mit.edu>
 
        * authenc.c (telnet_gets): Cleanup assignment in conditional.
index f6b8d1c135717688b593ee6aef695957bcf630ba..80a80848e1574703a47def2f0b25fcf9d9426a16 100644 (file)
@@ -39,6 +39,9 @@ char copyright[] =
 
 /* based on @(#)main.c 5.5 (Berkeley) 12/18/92 */
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #include <sys/types.h>
 #include <libtelnet/auth.h>
 #ifdef ENCRYPTION
@@ -52,6 +55,7 @@ char copyright[] =
 #include "defines.h"
 
 
+
 #if 0
 #define FORWARD
 #endif