From 8f750231d4b58ac71cbd3ac3548e1d7eb849f04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 22 Jun 2026 15:23:23 +0200 Subject: [PATCH] iconv: Update availability of bool While here, drop duplicate include. MFC after: 1 week Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D57733 --- include/iconv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/iconv.h b/include/iconv.h index a5a830b75fac..97e00f11acd0 100644 --- a/include/iconv.h +++ b/include/iconv.h @@ -37,9 +37,7 @@ #include -#include - -#ifdef __cplusplus +#if __STDC_VERSION__ >= 202311L || defined(__cplusplus) typedef bool __iconv_bool; #elif __STDC_VERSION__ >= 199901L typedef _Bool __iconv_bool;