iconv: Update availability of bool

While here, drop duplicate include.

MFC after:	1 week
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D57733
This commit is contained in:
Dag-Erling Smørgrav committed 2026-06-22 15:23:48 +02:00
1 parent 75aadc9022
commit 8f750231d4
1 file changed
+1 -3
+1 -3
View File
@@ -37,9 +37,7 @@
#include <wchar.h>
#include <sys/types.h>
#ifdef __cplusplus
#if __STDC_VERSION__ >= 202311L || defined(__cplusplus)
typedef bool __iconv_bool;
#elif __STDC_VERSION__ >= 199901L
typedef _Bool __iconv_bool;