X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fsystem.h;h=a31ba7a345d291d4f75ba2c513b73b2559472689;hp=58b6dc23a478ab2c64f926462fbbbafe7e0339fb;hb=ec912e45a8c8757b044354d4e8a6416491fe6ba6;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479 diff --git a/src/system.h b/src/system.h index 58b6dc23..a31ba7a3 100644 --- a/src/system.h +++ b/src/system.h @@ -1,7 +1,9 @@ +#ifndef MESHLINK_SYSTEM_H +#define MESHLINK_SYSTEM_H + /* system.h -- system headers - Copyright (C) 1998-2005 Ivo Timmermans - 2003-2013 Guus Sliepen + Copyright (C) 2014, 2017 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 +20,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 +32,4 @@ typedef int bool; #include "dropin.h" -#ifndef HAVE_SOCKLEN_T -typedef int socklen_t; #endif - -#endif /* __TINC_SYSTEM_H__ */