Protect include of unistd.h with HAVE_UNISTD_H
authorTheodore Tso <tytso@mit.edu>
Tue, 27 Feb 1996 23:53:10 +0000 (23:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 27 Feb 1996 23:53:10 +0000 (23:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7557 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/ChangeLog
src/lib/gssapi/mechglue/oid_ops.c

index cbfb0c184f4a33ceddb0580e4834749be4757d53..c9e474ba30e6b98c3d66e906be3da193b84a5722 100644 (file)
@@ -1,3 +1,7 @@
+Tue Feb 27 18:44:51 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * oid_ops.c: Protect include of unistd.h with HAVE_UNISTD_H
+
 Sun Feb 25 15:39:08 1996  Mark W. Eichin  <eichin@cygnus.com>
 
        * g_acquire_cred.c, g_delete_sec_context.c, g_dsp_name.c,
index a3001985807d9c7197d61f5f1a96ee28bb4629f5..a86764aca93e0a80f009825883859677d4f29c0c 100644 (file)
@@ -27,7 +27,9 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>