X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fhave.h;h=bb236622e98f01eeb0a5fc7357fe4f7ce7ff17f4;hb=e32d4f3db3f1ed3eebe2e11d57512b60a6c02fa6;hp=a054c5636a0f30e3da78c2a26ea4e15b7fbe4968;hpb=d7f6737cfcae75e8c2f522c68aaedee0519a6131;p=tinc diff --git a/src/have.h b/src/have.h index a054c563..bb236622 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-2013 Guus Sliepen + 2003-2021 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,21 +21,15 @@ 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 -#else #define WINVER WindowsXP -#endif #define WIN32_LEAN_AND_MEAN #endif #include #include #include +#include #include #include #include @@ -41,6 +38,7 @@ #include #include #include +#include #ifdef HAVE_MINGW #include @@ -49,10 +47,6 @@ #include #endif -#ifdef HAVE_STDBOOL_H -#include -#endif - #ifdef HAVE_TERMIOS_H #include #endif @@ -63,6 +57,10 @@ /* Include system specific headers */ +#ifdef HAVE_STDDEF_H +#include +#endif + #ifdef HAVE_SYSLOG_H #include #endif @@ -71,9 +69,6 @@ #include #endif -#ifdef HAVE_TIME_H -#include -#endif #ifdef HAVE_SYS_TYPES_H #include @@ -222,4 +217,4 @@ #define SLASH "/" #endif -#endif /* __TINC_SYSTEM_H__ */ +#endif