]> git.meshlink.io Git - meshlink/blobdiff - src/system.h
Assume getaddrinfo() and IPv6 are supported.
[meshlink] / src / system.h
index 73b8273c9930f58065d64479a8c67dd34d59555e..a31ba7a345d291d4f75ba2c513b73b2559472689 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_SYSTEM_H
+#define MESHLINK_SYSTEM_H
+
 /*
     system.h -- system headers
-    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
+    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
 
     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
     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
@@ -38,8 +32,4 @@ typedef int bool;
 
 #include "dropin.h"
 
-#ifndef HAVE_SOCKLEN_T
-typedef int socklen_t;
 #endif
-
-#endif /* __TINC_SYSTEM_H__ */