From 9ca73d245b4fd6f3cffd35b6215201c4624acbb5 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 27 Feb 1996 23:53:10 +0000 Subject: [PATCH] Protect include of unistd.h with HAVE_UNISTD_H git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7557 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/mechglue/ChangeLog | 4 ++++ src/lib/gssapi/mechglue/oid_ops.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/lib/gssapi/mechglue/ChangeLog b/src/lib/gssapi/mechglue/ChangeLog index cbfb0c184..c9e474ba3 100644 --- a/src/lib/gssapi/mechglue/ChangeLog +++ b/src/lib/gssapi/mechglue/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 27 18:44:51 1996 Theodore Y. Ts'o + + * oid_ops.c: Protect include of unistd.h with HAVE_UNISTD_H + Sun Feb 25 15:39:08 1996 Mark W. Eichin * g_acquire_cred.c, g_delete_sec_context.c, g_dsp_name.c, diff --git a/src/lib/gssapi/mechglue/oid_ops.c b/src/lib/gssapi/mechglue/oid_ops.c index a30019858..a86764aca 100644 --- a/src/lib/gssapi/mechglue/oid_ops.c +++ b/src/lib/gssapi/mechglue/oid_ops.c @@ -27,7 +27,9 @@ */ #include "mglueP.h" +#ifdef HAVE_UNISTD_H #include +#endif #include #include #include -- 2.26.2