Added gettimeofday for Windows.

Thanks to Patrick Spendrin.
This commit is contained in:
Andreas Schneider
2009-12-01 16:57:49 +01:00
parent e5bf645010
commit 176778bb1c
3 changed files with 23 additions and 0 deletions

View File

@@ -185,6 +185,11 @@ int match_hostname(const char *host, const char *pattern, unsigned int len);
/* log.c */
/* misc.c */
#ifdef _WIN32
int gettimeofday(struct timeval *__p, void *__t);
#endif /* _WIN32 */
#ifndef __FUNCTION__
#if defined(__SUNPRO_C)
#define __FUNCTION__ __func__