svn rev #24573: branches/krb5-1-9/src/lib/gssapi/mechglue/

tlyu@MIT.EDU tlyu at MIT.EDU
Tue Dec 14 18:10:52 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24573
Commit By: tlyu
Log Message:
ticket: 6842
version_fixed: 1.9
status: resolved

pull up r24568 from trunk

 ------------------------------------------------------------------------
 r24568 | ghudson | 2010-12-14 13:46:46 -0500 (Tue, 14 Dec 2010) | 10 lines

 ticket: 6842
 subject: Ensure time() is prototyped in g_accept_sec_context.c
 tags: pullup
 target_version: 1.9

 r22736 added a call to time() in g_accept_sec_context.c.  Include
 <time.h> to ensure that this call is correctly prototyped.  Previously
 <time.h> was only included implicitly through <pthread.h>, which
 doesn't apply when thread support is disabled.


Changed Files:
U   branches/krb5-1-9/src/lib/gssapi/mechglue/g_accept_sec_context.c
Modified: branches/krb5-1-9/src/lib/gssapi/mechglue/g_accept_sec_context.c
===================================================================
--- branches/krb5-1-9/src/lib/gssapi/mechglue/g_accept_sec_context.c	2010-12-14 23:10:49 UTC (rev 24572)
+++ branches/krb5-1-9/src/lib/gssapi/mechglue/g_accept_sec_context.c	2010-12-14 23:10:52 UTC (rev 24573)
@@ -32,6 +32,7 @@
 #endif
 #include <string.h>
 #include <errno.h>
+#include <time.h>
 
 #ifndef LEAN_CLIENT
 static OM_uint32




More information about the cvs-krb5 mailing list