X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fsystem.h;h=dc3928748a1930394a6081c123b6f4da4577bf62;hb=4c57e6902219ecca1872e18e34365d8e54a0f407;hp=58b6dc23a478ab2c64f926462fbbbafe7e0339fb;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479;p=meshlink diff --git a/src/system.h b/src/system.h index 58b6dc23..dc392874 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 @@ -43,4 +36,4 @@ typedef int bool; typedef int socklen_t; #endif -#endif /* __TINC_SYSTEM_H__ */ +#endif