X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fsystem.h;h=dc3928748a1930394a6081c123b6f4da4577bf62;hb=eaea9a2ea3c80478a6aa4e502afaed5b5b6bbfde;hp=69622b2ca412a47eaf58954f072b5c892ed93af9;hpb=9415f4b08fb2ca9ae933edd0bf8b096db195ebae;p=meshlink diff --git a/src/system.h b/src/system.h index 69622b2c..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 __MESHLINK_SYSTEM_H__ -#define __MESHLINK_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 /* __MESHLINK_SYSTEM_H__ */ +#endif