X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=system.h;h=b0d23c8cbc65f914be63a8891269fb7bf724a6aa;hp=73f7aeb1cd558ce3c35f94fb8c41f7a3e0e18657;hb=9e44f116bf0f72d1dd4f099440a351dbe0a74573;hpb=721e4caee0f7c6e003c297c95fb6d93bd4102219 diff --git a/system.h b/system.h index 73f7aeb1..b0d23c8c 100644 --- a/system.h +++ b/system.h @@ -1,7 +1,7 @@ /* system.h -- system headers - Copyright (C) 1998-2003 Ivo Timmermans - 2003 Guus Sliepen + Copyright (C) 1998-2004 Ivo Timmermans + 2003-2004 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,7 +27,6 @@ #include #include -#include #include #include #include @@ -36,6 +35,14 @@ #include #include +#ifdef HAVE_STDBOOL_H +#include +#else +typedef int bool; +#define true 1 +#define false 0 +#endif + #ifdef HAVE_TERMIOS_H #include #endif @@ -85,10 +92,6 @@ #include #endif -#ifdef HAVE_ARPA_INET_H -#include -#endif - #ifdef HAVE_SYS_SOCKET_H #include #endif @@ -105,6 +108,10 @@ #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif + #ifdef HAVE_NETINET_IP_H #include #endif @@ -113,6 +120,14 @@ #include #endif +#ifdef HAVE_NETINET_IN6_H +#include +#endif + +#ifdef HAVE_NETINET_IP6_H +#include +#endif + #ifdef HAVE_MINGW #include #include