summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-12-14 18:46:46 +0000
committerGreg Hudson <ghudson@mit.edu>2010-12-14 18:46:46 +0000
commit38738f852c38f3330d589892a6fd6787f19fa7ad (patch)
tree81d016b6fd8f7d8ce66716a615be9e1efb2c0aac /src
parent2ed41eb79b04395795a0f8f7a32e53ca0c9a5c44 (diff)
downloadkrb5-38738f852c38f3330d589892a6fd6787f19fa7ad.tar.gz
krb5-38738f852c38f3330d589892a6fd6787f19fa7ad.tar.xz
krb5-38738f852c38f3330d589892a6fd6787f19fa7ad.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/mechglue/g_accept_sec_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/gssapi/mechglue/g_accept_sec_context.c b/src/lib/gssapi/mechglue/g_accept_sec_context.c
index 498bfc4569..d585de7877 100644
--- a/src/lib/gssapi/mechglue/g_accept_sec_context.c
+++ b/src/lib/gssapi/mechglue/g_accept_sec_context.c
@@ -32,6 +32,7 @@
#endif
#include <string.h>
#include <errno.h>
+#include <time.h>
#ifndef LEAN_CLIENT
static OM_uint32