]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Workaround for oddity in cygwin autoconf
authorNick Mathewson <nickm@torproject.org>
Thu, 19 Aug 2004 17:21:17 +0000 (17:21 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 19 Aug 2004 17:21:17 +0000 (17:21 +0000)
svn:r2301

src/common/util.h

index 3554b3673df226b0b6e90cda83a319d86c5ba3f2..ba5319e563ed382f2a2b6b0107ade3675c8dbd08 100644 (file)
@@ -26,7 +26,7 @@
 #elif defined(_MSC_VER)
 #include <winsock.h>
 #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;