X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=have.h;h=43a9147ae3431ac3444351b52a9fa3017ec44987;hp=e0652a9daf41df4dfa34daefade0d7d43369fd0e;hb=075e6828a7533e7daa790225f17aa6bb39703278;hpb=9b129c07e273ae113f3c67a9feeee82e8146f3a1 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__ */