X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsystem.h;h=f9675f95961f773d44adb9b223108184f93b0275;hb=a6448291834ca7419553a807ee367c719c2956d0;hp=7180b87090537a82749fd2f0e74ab5b57f24bca6;hpb=5e00a24e1f13fa70a6945831c409d873b7809d11;p=tinc diff --git a/src/system.h b/src/system.h index 7180b870..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-2013 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__ */