X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fhave.h;h=2b5f24637ae683f41d890959cc9844abbf814b69;hb=326a86ef927e1f161a6742edfca041a945c7a547;hp=4d9a97bd630ba1b9bc93954dee31b791920088cc;hpb=bdfa996a1b6f1f50f69b2ecad259b50756f44bf7;p=meshlink diff --git a/src/have.h b/src/have.h index 4d9a97bd..2b5f2463 100644 --- a/src/have.h +++ b/src/have.h @@ -1,7 +1,6 @@ /* have.h -- include headers which are known to exist - Copyright (C) 1998-2005 Ivo Timmermans - 2003-2013 Guus Sliepen + Copyright (C) 2014 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,8 +17,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_HAVE_H__ -#define __TINC_HAVE_H__ +#ifndef __MESHLINK_HAVE_H__ +#define __MESHLINK_HAVE_H__ #ifdef HAVE_MINGW #ifdef WITH_WINDOWS2000 @@ -90,10 +89,6 @@ #include #endif -#ifdef HAVE_SYS_IOCTL_H -#include -#endif - #ifdef HAVE_SYS_PARAM_H #include #endif @@ -102,10 +97,6 @@ #include #endif -#ifdef HAVE_SYS_UIO_H -#include -#endif - #ifdef HAVE_SYS_UN_H #include #endif @@ -125,85 +116,14 @@ #include #endif -#ifdef HAVE_NET_IF_H -#include -#endif - -#ifdef HAVE_NET_IF_TYPES_H -#include -#endif - -#ifdef HAVE_NET_IF_TUN_H -#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 - -#ifdef HAVE_NETINET_IN_H -#include -#endif - #ifdef HAVE_ARPA_INET_H #include #endif -#ifdef HAVE_NETINET_IP_H -#include -#endif - -#ifdef HAVE_NETINET_TCP_H -#include -#endif - -#ifdef HAVE_NETINET_IN6_H -#include -#endif - -#ifdef HAVE_NETINET_IP6_H -#include -#endif - -#ifdef HAVE_NET_ETHERNET_H -#include -#endif - -#ifdef HAVE_NET_IF_ARP_H -#include -#endif - -#ifdef HAVE_NETINET_IP_ICMP_H -#include -#endif - -#ifdef HAVE_NETINET_ICMP6_H -#include -#endif - -#ifdef HAVE_NETINET_IF_ETHER_H -#include -#endif - #ifdef HAVE_MINGW #define SLASH "\\" #else #define SLASH "/" #endif -#define CONFDIR "/etc/" -#define LOCALSTATEDIR "/var/" - -#endif /* __TINC_SYSTEM_H__ */ +#endif /* __MESHLINK_SYSTEM_H__ */