X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fhave.h;h=faa4c9e0f38be54d7d9448b08646577ccba5e046;hp=6d65bcd354e611649cdea163517a05db266ad594;hb=c2dc3784f127ef6db6e9960a4abecc1aab6f4e31;hpb=e70b5b5bd77bb66e8dd324c17d86d9bff151aa82 diff --git a/src/have.h b/src/have.h index 6d65bcd3..faa4c9e0 100644 --- a/src/have.h +++ b/src/have.h @@ -1,7 +1,7 @@ /* have.h -- include headers which are known to exist Copyright (C) 1998-2005 Ivo Timmermans - 2003-2012 Guus Sliepen + 2003-2016 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,23 +22,23 @@ #define __TINC_HAVE_H__ #ifdef HAVE_MINGW -#ifdef WITH_WINDOWS2000 -#define WINVER Windows2000 -#else #define WINVER WindowsXP -#endif #define WIN32_LEAN_AND_MEAN #endif #include #include #include +#include #include #include #include #include #include #include +#include +#include +#include #ifdef HAVE_MINGW #include @@ -47,10 +47,6 @@ #include #endif -#ifdef HAVE_STDBOOL_H -#include -#endif - #ifdef HAVE_TERMIOS_H #include #endif @@ -69,9 +65,6 @@ #include #endif -#ifdef HAVE_TIME_H -#include -#endif #ifdef HAVE_SYS_TYPES_H #include @@ -101,10 +94,6 @@ #include #endif -#ifdef HAVE_SYS_UIO_H -#include -#endif - #ifdef HAVE_SYS_UN_H #include #endif @@ -196,6 +185,28 @@ #include #endif +#ifdef HAVE_ARPA_NAMESER_H +#include +#endif + +#ifdef HAVE_RESOLV_H +#include +#endif + +#ifdef HAVE_LINUX_IF_TUN_H +#include +#endif + +#ifdef HAVE_GETOPT_H +#include +#else +#include "getopt.h" +#endif + +#ifdef STATUS +#undef STATUS +#endif + #ifdef HAVE_MINGW #define SLASH "\\" #else