From ec2a34fa1097ff0a2725fd47596b404ee8e385af Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 7 Jun 1995 14:15:56 +0000 Subject: [PATCH] Include time.h (or sys/time.h) for struct tm structure which is now referenced in the los-proto.h file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5963 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 4 ++++ src/lib/gssapi/krb5/gssapiP_krb5.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 8fd54eadf..748f839b1 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 7 10:05:16 1995 Ezra Peisach + + * gssapiP_krb5.h: Include time.h (or sys/time.h) for struct tm + structure which is now in the los-proto.h file. Mon May 22 10:10:41 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Add null install target. diff --git a/src/lib/gssapi/krb5/gssapiP_krb5.h b/src/lib/gssapi/krb5/gssapiP_krb5.h index 8d846f73b..768345a00 100644 --- a/src/lib/gssapi/krb5/gssapiP_krb5.h +++ b/src/lib/gssapi/krb5/gssapiP_krb5.h @@ -24,6 +24,14 @@ #define _GSSAPIP_KRB5_H_ #include "krb5.h" +#ifdef HAVE_SYS_TIME_H +#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#include +#endif #include "los-proto.h" #include -- 2.26.2