X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=have.h;h=0ab813461c41bcf54bd8d397cfa18d334066feb8;hb=895f868714f9422a757a95650345e0c662d12b49;hp=9e154d6600fa47984ccd5e85c2337d823b3c611f;hpb=046d83bf91e01bc7a32e66a02758caf228bc4601;p=tinc diff --git a/have.h b/have.h index 9e154d66..0ab81346 100644 --- a/have.h +++ b/have.h @@ -1,7 +1,7 @@ /* have.h -- include headers which are known to exist Copyright (C) 1998-2005 Ivo Timmermans - 2003-2009 Guus Sliepen + 2003-2011 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 @@ -27,6 +27,7 @@ #else #define WINVER WindowsXP #endif +#define WIN32_LEAN_AND_MEAN #endif #include @@ -57,10 +58,6 @@ #include #endif -#ifdef HAVE_ALLOCA_H -#include -#endif - /* Include system specific headers */ #ifdef HAVE_SYSLOG_H @@ -71,6 +68,10 @@ #include #endif +#ifdef HAVE_TIME_H +#include +#endif + #ifdef HAVE_SYS_TYPES_H #include #endif @@ -103,6 +104,10 @@ #include #endif +#ifdef HAVE_SYS_UN_H +#include +#endif + #ifdef HAVE_DIRENT_H #include #endif @@ -190,4 +195,8 @@ #include #endif +#ifdef HAVE_EVENT_H +#include +#endif + #endif /* __TINC_SYSTEM_H__ */