Index: configure --- configure.orig +++ configure @@ -1735,6 +1735,10 @@ else #undef $2 +#ifdef __OpenBSD__ +#define iconv_open libiconv_open +#endif + /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */