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

src/clients/kdestroy/ChangeLog
src/clients/kdestroy/kdestroy.c
src/clients/klist/ChangeLog
src/clients/klist/klist.c
src/clients/kvno/ChangeLog
src/clients/kvno/kvno.c

index bf4c61b6de724b568341cd1db735aca9cce99a15..6d6cf1fb806ec2ef6ef4e4fec243be4879f1730b 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * kdestroy.c: Include unistd.h (if present) for getopt() prototype. 
+
 2000-08-02  Ezra Peisach  <epeisach@mit.edu>
 
        * kdestroy.c (main): Clean up compiler warnings.
index 940688b501e187b84376d1d88abbcf5a0aa2d846..a9072ed54d37494fd84c561813bc6b5ffe5770a7 100644 (file)
@@ -31,6 +31,9 @@
 #include <com_err.h>
 #include <string.h>
 #include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #ifdef KRB5_KRB4_COMPAT
 #include <kerberosIV/krb.h>
index 50bf5da55a3a949680a6bf3c48e330c46f06b698..eb29aad85298fc44fca411a803a0e2f9e330ee82 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * klist.c: Include unistd.h (if present) for getopt() prototype. 
+
 2001-04-26  Ken Raeburn  <raeburn@mit.edu>
 
        * klist.c (one_addr): Drop getipnodebyaddr support.
index 06bed72bdd4e3a60f42cdf9f68249bcfeb5eae57..7d95feb63f6c1f137456b4895c5a0f7de45224f8 100644 (file)
@@ -33,6 +33,9 @@
 #endif
 #include <com_err.h>
 #include <stdlib.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #include <string.h>
 #include <stdio.h>
 #include <time.h>
index 459dea4929dbefb1adaeba10d545f869eff7ac82..14169ae92afbbc964c95a22af6e5e0c4c94152e7 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * kvno.c: Include unistd.h (if present) for getopt() prototype. 
+
 2000-08-02  Ezra Peisach  <epeisach@mit.edu>
 
        * kvno.c (main): Compiler warning fixes - declare usage as static, and 
index b4d2993aeae5068081ae1baa4fae0a293e1034f7..ce4c9bf40ab916723438394ad2b4f237039ed8cd 100644 (file)
@@ -25,6 +25,9 @@
  */
 
 #include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #include <string.h>
 #include <krb5.h>