X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fwctype.in.h;fp=lib%2Fwctype.in.h;h=f7942edf15c1cffba84a287f7a11195e60224002;hb=785cdec4450a1459fdbb90df1344b69be34e0059;hp=4a4f5a05b8065aa8bc21e5735bdbc942ab43b172;hpb=cf7169a2ede9bb08b71de68fe0c8bbecf827abe6;p=debian%2Ftar diff --git a/lib/wctype.in.h b/lib/wctype.in.h index 4a4f5a05..f7942edf 100644 --- a/lib/wctype.in.h +++ b/lib/wctype.in.h @@ -59,6 +59,9 @@ /* Define wint_t. (Also done in wchar.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int +# ifndef WEOF +# define WEOF -1 +# endif #endif /* FreeBSD 4.4 to 4.11 has but lacks the functions.