#pragma once #include <errno.h> #include <iconv.h> // define some missing constants if necessary #ifndef EILSEQ # define EILSEQ 123 #endif #define ICONV_ERRNO errno #define ICONV_E2BIG E2BIG #define ICONV_EINVAL EINVAL #define ICONV_EILSEQ EILSEQ