X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=have.h;h=7544bf9cf8847de8e73ab78c04b450fd29d27379;hb=6396f42d74f22ab5f8e736dc5cb04c57917f9319;hp=21c16efa8be933233e9c1666521fa3a0b8057e57;hpb=a22041922f160667573e9a5ae3f4195e1668906a;p=tinc diff --git a/have.h b/have.h index 21c16efa..7544bf9c 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 @@ -42,6 +42,7 @@ #ifdef HAVE_MINGW #include +#include #include #include #endif @@ -58,10 +59,6 @@ #include #endif -#ifdef HAVE_ALLOCA_H -#include -#endif - /* Include system specific headers */ #ifdef HAVE_SYSLOG_H @@ -100,6 +97,10 @@ #include #endif +#ifdef HAVE_SYS_RESOURCE_H +#include +#endif + #ifdef HAVE_SYS_UIO_H #include #endif @@ -135,10 +136,18 @@ #include #endif +#ifdef HAVE_NET_TUN_IF_TUN_H +#include +#endif + #ifdef HAVE_NET_IF_TAP_H #include #endif +#ifdef HAVE_NET_TAP_IF_TAP_H +#include +#endif + #ifdef HAVE_NETINET_IN_SYSTM_H #include #endif @@ -191,4 +200,10 @@ #include #endif +#ifdef HAVE_MINGW +#define SLASH "\\" +#else +#define SLASH "/" +#endif + #endif /* __TINC_SYSTEM_H__ */