svn rev #24568: trunk/src/lib/gssapi/mechglue/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue Dec 14 13:46:46 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24568
Commit By: ghudson
Log Message:
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 trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c
Modified: trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c 2010-12-14 17:34:48 UTC (rev 24567)
+++ trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c 2010-12-14 18:46:46 UTC (rev 24568)
@@ -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