X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fhave.h;h=5bd4d66eccaefe8ec7eafb27fec631cd07e41559;hp=e00c7f7194f046f57d8f2d447893ead48417f319;hb=3fae14fae5a347823679ef694ab630b4991a201d;hpb=68f4ca711593416d0defd81199b176ba604c6cb1 diff --git a/src/have.h b/src/have.h index e00c7f71..5bd4d66e 100644 --- a/src/have.h +++ b/src/have.h @@ -1,7 +1,10 @@ +#ifndef TINC_HAVE_H +#define TINC_HAVE_H + /* have.h -- include headers which are known to exist Copyright (C) 1998-2005 Ivo Timmermans - 2003-2011 Guus Sliepen + 2003-2015 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 @@ -18,9 +21,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_HAVE_H__ -#define __TINC_HAVE_H__ - #ifdef HAVE_MINGW #ifdef WITH_WINDOWS2000 #define WINVER Windows2000 @@ -38,6 +38,7 @@ #include #include #include +#include #ifdef HAVE_MINGW #include @@ -195,4 +196,19 @@ #include #endif -#endif /* __TINC_SYSTEM_H__ */ +#ifdef HAVE_ARPA_NAMESER_H +#include +#ifdef STATUS +#undef STATUS +#endif +#endif + +#ifdef HAVE_RESOLV_H +#include +#endif + +#ifdef HAVE_LINUX_IF_TUN_H +#include +#endif + +#endif