X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fsystem.h;h=dc3928748a1930394a6081c123b6f4da4577bf62;hp=73b8273c9930f58065d64479a8c67dd34d59555e;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=158cbe99f972a1613b7d4d95abfe5fe48e019e67 diff --git a/src/system.h b/src/system.h index 73b8273c..dc392874 100644 --- a/src/system.h +++ b/src/system.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_SYSTEM_H +#define MESHLINK_SYSTEM_H + /* system.h -- system headers - Copyright (C) 2014 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 @@ -17,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 @@ -42,4 +36,4 @@ typedef int bool; typedef int socklen_t; #endif -#endif /* __TINC_SYSTEM_H__ */ +#endif