X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=opt%2Fbasecodecs%2F_PDCLIB_utf8.c;h=65f76e01470ba3c337382e15c322e847531ffd6d;hp=8183aef254ecd69e2126b06ea9d1d7686f2b3863;hb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07;hpb=4fe88a1c445105a96d08b808831d6fc7480a211d diff --git a/opt/basecodecs/_PDCLIB_utf8.c b/opt/basecodecs/_PDCLIB_utf8.c index 8183aef..65f76e0 100644 --- a/opt/basecodecs/_PDCLIB_utf8.c +++ b/opt/basecodecs/_PDCLIB_utf8.c @@ -9,6 +9,7 @@ #include #include #include +#include <_PDCLIB_encoding.h> /* Use of the mbstate: * @@ -227,7 +228,7 @@ static bool c32toutf8( END_CONVERSION; } -_PDCLIB_charcodec _PDCLIB_utf8_codec = { +_PDCLIB_charcodec_t _PDCLIB_utf8_codec = { .__mbstoc32s = utf8toc32, .__c32stombs = c32toutf8, };