summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helper/replacements.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index 553cde1b..069519d1 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -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