summaryrefslogtreecommitdiffstats
path: root/src/clients/kvno
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-06-08 15:51:40 +0000
committerEzra Peisach <epeisach@mit.edu>2001-06-08 15:51:40 +0000
commit1e35e9673809bd108236f9cda4b2699604b06662 (patch)
treecc10e467d7d2d130e9bb937c700891a48a851cec /src/clients/kvno
parentd680e63a1ec4e778a3e2e89af5c361480247b713 (diff)
downloadkrb5-1e35e9673809bd108236f9cda4b2699604b06662.tar.gz
krb5-1e35e9673809bd108236f9cda4b2699604b06662.tar.xz
krb5-1e35e9673809bd108236f9cda4b2699604b06662.zip
Include unistd.h (if present) for getopt() prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13307 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients/kvno')
-rw-r--r--src/clients/kvno/ChangeLog4
-rw-r--r--src/clients/kvno/kvno.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/clients/kvno/ChangeLog b/src/clients/kvno/ChangeLog
index 459dea4929..14169ae92a 100644
--- a/src/clients/kvno/ChangeLog
+++ b/src/clients/kvno/ChangeLog
@@ -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
diff --git a/src/clients/kvno/kvno.c b/src/clients/kvno/kvno.c
index b4d2993aea..ce4c9bf40a 100644
--- a/src/clients/kvno/kvno.c
+++ b/src/clients/kvno/kvno.c
@@ -25,6 +25,9 @@
*/
#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <string.h>
#include <krb5.h>