From: Nick Mathewson Date: Thu, 19 Aug 2004 17:21:17 +0000 (+0000) Subject: Workaround for oddity in cygwin autoconf X-Git-Tag: tor-0.0.8rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7979c0277d84889f331716f5a65d56bd01378775;p=thirdparty%2Ftor.git Workaround for oddity in cygwin autoconf svn:r2301 --- diff --git a/src/common/util.h b/src/common/util.h index 3554b3673d..ba5319e563 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -26,7 +26,7 @@ #elif defined(_MSC_VER) #include #endif -#ifndef HAVE_STRUCT_TIMEVAL_TV_SEC +#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_STRUCT_TIMEVAL_TV_SEC) struct timeval { time_t tv_sec; unsigned int tv_usec;