diff --git a/pn_auth.c b/pn_auth.c index c379efb..e8c92ce 100644 --- a/pn_auth.c +++ b/pn_auth.c @@ -31,6 +31,10 @@ #include /* for atoi */ #include +#ifdef __MINGW32__ +__MINGW_IMPORT long timezone; +#endif + typedef struct AuthRequest AuthRequest; struct AuthRequest diff --git a/pn_util.c b/pn_util.c index 7eb78c8..e47bfb5 100644 --- a/pn_util.c +++ b/pn_util.c @@ -35,6 +35,10 @@ #define BUFSIZE 256 #endif /* HAVE_LIBPURPLE */ +#ifdef __MINGW32__ +__MINGW_IMPORT long timezone; +#endif + struct PlusTag { char *code;