X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fwcwidth.h;h=76673da658455f317aba195f7f4a9a1d802f7460;hp=c8fb4d42466f1a9220234da094e5043065f12e13;hb=493e2f7b3fc309879f561a094fdfc15e5304b3d6;hpb=5a107d6f2a641ef5a33c8976fbd6cd26a3196a0d;ds=sidebyside diff --git a/ncurses/wcwidth.h b/ncurses/wcwidth.h index c8fb4d42..76673da6 100644 --- a/ncurses/wcwidth.h +++ b/ncurses/wcwidth.h @@ -59,6 +59,16 @@ * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c */ +#ifndef _WCWIDTH_H_incl +#define _WCWIDTH_H_incl 1 + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + #include struct interval { @@ -310,3 +320,9 @@ NCURSES_EXPORT(int) mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) return width; } + +#ifdef __cplusplus +} +#endif + +#endif /* _WCWIDTH_H_incl 1 */