--- a/libpurple/win32/libc_internal.h Sat Jul 18 00:40:40 2009 +0000 +++ b/libpurple/win32/libc_internal.h Sat Jul 18 02:32:04 2009 +0000 @@ -120,10 +120,14 @@ # define ifc_req ifc_ifcu.ifcu_req /* Array of structures. */ /* sys/time.h */ +#if __MINGW32_MAJOR_VERSION < 3 || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 10) struct timezone { int tz_minuteswest; int tz_dsttime; }; +#else +# include <sys/time.h> +#endif int wpurple_gettimeofday(struct timeval *p, struct timezone *z); /* time.h */