From: Guus Sliepen Date: Sat, 7 Oct 2017 21:20:36 +0000 (+0200) Subject: Unconditionally include stdbool.h and inttypes.h. X-Git-Tag: release-1.0.33~15 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=7e686dde6f965d159b57e8394db3233b7cc20c56 Unconditionally include stdbool.h and inttypes.h. --- diff --git a/src/have.h b/src/have.h index 5bd4d66e..11fa56ad 100644 --- a/src/have.h +++ b/src/have.h @@ -30,15 +30,19 @@ #endif #include +#include +#include +#include #include #include #include #include -#include #include +#include + #include #include -#include +#include #ifdef HAVE_MINGW #include @@ -55,10 +59,6 @@ #include #endif -#ifdef HAVE_INTTYPES_H -#include -#endif - #ifdef HAVE_ALLOCA_H #include #endif diff --git a/src/system.h b/src/system.h index 504e59ce..14db7f5d 100644 --- a/src/system.h +++ b/src/system.h @@ -25,12 +25,6 @@ #include "have.h" -#ifndef HAVE_STDBOOL_H -typedef int bool; -#define true 1 -#define false 0 -#endif - #ifndef HAVE_STRSIGNAL # define strsignal(p) "" #endif