From c6714059aef0cceef5b2209ea987776848375b75 Mon Sep 17 00:00:00 2001 From: GOTOU Yuuzou Date: Wed, 24 Jul 2002 12:31:31 +0000 Subject: * ossl.c: should include if it exists. (Thanks Knu) --- ChangeLog | 3 +++ ossl.c | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 212b605..76364b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ Copyright (C) 2001 Michal Rokos All rights reserved. $Log$ +Revision 1.42 2002/07/24 12:31:31 gotoyuzo + * ossl.c: should include if it exists. (Thanks Knu) + Revision 1.41 2002/07/24 09:56:17 gotoyuzo * ossl-0.1.2 released diff --git a/ossl.c b/ossl.c index 044b980..596183f 100644 --- a/ossl.c +++ b/ossl.c @@ -26,6 +26,17 @@ # include #endif +#ifdef HAVE_SYS_TIME_H +# include +#else +#ifndef NT +struct timeval { + long tv_sec; /* seconds */ + long tv_usec; /* and microseconds */ +}; +#endif /* NT */ +#endif + /* * Check Types */ -- cgit v1.2.3