[email protected] wrote:
[..]
> getty.c requires sys/ttydefaults.h. Error of my compilation:
> 
> toys/pending/getty.c:168:29: error: 'CERASE' undeclared (first use in 
> this function)
> 
> The CERASE macro and more similar macros just are defined at 
> sys/ttydefaults.h in
> musl libc. This header file isn't included any header file in musl libc. 
> I use musl-1.0.3.

For that one constant it might be simpler to replace its only
occurence by 0177 or 127 and leave a comment that that's CERASE.

Felix
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to