X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fhave.h;h=11fa56adb3f30d144a7026a74f0a2cfcca2266e2;hp=e83f98f48ebe1694e491cdc4e5a50f8f34b3c86b;hb=HEAD;hpb=09d60499af3acef2ba9bd7be15e8d1c44249f8d5 diff --git a/src/have.h b/src/have.h index e83f98f4..11fa56ad 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-2014 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 @@ -30,15 +30,19 @@ #endif #include +#include +#include +#include #include #include #include #include -#include #include +#include + #include #include -#include +#include #ifdef HAVE_MINGW #include @@ -55,10 +59,6 @@ #include #endif -#ifdef HAVE_INTTYPES_H -#include -#endif - #ifdef HAVE_ALLOCA_H #include #endif @@ -207,4 +207,8 @@ #include #endif -#endif /* __TINC_SYSTEM_H__ */ +#ifdef HAVE_LINUX_IF_TUN_H +#include +#endif + +#endif