X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fbasecodecs%2F_PDCLIB_utf8.c;fp=opt%2Fbasecodecs%2F_PDCLIB_utf8.c;h=65f76e01470ba3c337382e15c322e847531ffd6d;hp=8183aef254ecd69e2126b06ea9d1d7686f2b3863;hb=0a419d48138f1411d6e3e50a367b9ece5a2cf893;hpb=702e9008178bdb5c1b123b963868c946537fb7f5 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, };