From 5b675884ddfcc16aee24a1cae8f4a1b3ff5db6c5 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Tue, 24 Jun 2025 15:56:47 -0600 Subject: [PATCH] iconv fix for illumos distributions --- ext/iconv/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index 157ee41a11a05..d2ddd3e3a6615 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -43,7 +43,7 @@ #undef iconv #endif -#if defined(__NetBSD__) +#if defined(__NetBSD__) || defined (__illumos__) // unfortunately, netbsd has still the old non posix conformant signature // libiconv tends to match the eventual system's iconv too. #define ICONV_CONST const