Ensure time() is prototyped in g_accept_sec_context.c
authorGreg Hudson <ghudson@mit.edu>
Tue, 14 Dec 2010 18:46:46 +0000 (18:46 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 14 Dec 2010 18:46:46 +0000 (18:46 +0000)
commit38738f852c38f3330d589892a6fd6787f19fa7ad
tree81d016b6fd8f7d8ce66716a615be9e1efb2c0aac
parent2ed41eb79b04395795a0f8f7a32e53ca0c9a5c44
Ensure time() is prototyped in g_accept_sec_context.c

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.

ticket: 6842
tags: pullup
target_version: 1.9

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24568 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/mechglue/g_accept_sec_context.c