X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=have.h;h=43a9147ae3431ac3444351b52a9fa3017ec44987;hb=075e6828a7533e7daa790225f17aa6bb39703278;hp=e0652a9daf41df4dfa34daefade0d7d43369fd0e;hpb=08aabbf9317806bc50a9a6693ca866c8936ce26b;p=tinc diff --git a/have.h b/have.h index e0652a9d..43a9147a 100644 --- a/have.h +++ b/have.h @@ -31,6 +31,17 @@ #include #include +#ifdef HAVE_MINGW +#ifdef WITH_WINDOWS2000 +#define WINVER Windows2000 +#else +#define WINVER WindowsXP +#endif +#include +#include +#include +#endif + #ifdef HAVE_STDBOOL_H #include #endif @@ -164,13 +175,4 @@ #include #endif -#ifdef HAVE_MINGW -#include -#include -#endif - -#ifdef HAVE_LIBEVENT -#include -#endif - #endif /* __TINC_SYSTEM_H__ */