X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsystem.h;h=f9675f95961f773d44adb9b223108184f93b0275;hb=f5223937e62e1cc5e9b3d322490dd3af8d666750;hp=09638dce21e53ef45002c48d0352872f147bf757;hpb=e70b5b5bd77bb66e8dd324c17d86d9bff151aa82;p=tinc diff --git a/src/system.h b/src/system.h index 09638dce..f9675f95 100644 --- a/src/system.h +++ b/src/system.h @@ -1,7 +1,10 @@ +#ifndef TINC_SYSTEM_H +#define TINC_SYSTEM_H + /* system.h -- system headers Copyright (C) 1998-2005 Ivo Timmermans - 2003-2009 Guus Sliepen + 2003-2016 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,19 +21,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_SYSTEM_H__ -#define __TINC_SYSTEM_H__ - #include "../config.h" #include "have.h" -#ifndef HAVE_STDBOOL_H -typedef int bool; -#define true 1 -#define false 0 -#endif - #ifndef HAVE_STRSIGNAL # define strsignal(p) "" #endif @@ -39,8 +33,4 @@ typedef int bool; #include "dropin.h" -#ifndef HAVE_SOCKLEN_T -typedef int socklen_t; #endif - -#endif /* __TINC_SYSTEM_H__ */