now compiles under Cygwin and eCos again.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 27 Oct 2008 07:32:09 +0000 (07:32 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 27 Oct 2008 07:32:09 +0000 (07:32 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/replacements.h

index 553cde1be7cc7a9ce383bf71916b84797a251827..069519d1a8906f6e027532d05a3f4a9c15598995 100644 (file)
@@ -83,10 +83,15 @@ struct timeval {
 
 /* gettimeofday() */
 #ifndef HAVE_GETTIMEOFDAY
+
+
+#ifdef _WIN32
 struct timezone {
     int tz_minuteswest;
        int tz_dsttime;
 };
+#endif
+struct timezone;
 
 extern int gettimeofday(struct timeval *tv, struct timezone *tz);
 #endif