diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-06-22 13:23:23 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-06-22 13:23:48 +0000 |
| commit | 8f750231d4b58ac71cbd3ac3548e1d7eb849f04b (patch) | |
| tree | 48277212f430854272f5288e599995aa92c8a65a | |
| parent | 75aadc902298005c47d2b931c483452027ceae69 (diff) | |
iconv: Update availability of bool
While here, drop duplicate include.
MFC after: 1 week
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D57733
| -rw-r--r-- | include/iconv.h | 4 |
1 files changed, 1 insertions, 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 <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; |
