| Summary: | hurd does not have CBAUD define, new getty.c fails to compile | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Michael Tokarev <mjt+busybox> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.19.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Other | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | patch to make CBAUD usage conditional | ||
Created attachment 3715 [details] patch to make CBAUD usage conditional On hurd, CBAUD is not defined in <termios.h>. So new getty.c (which were rewritten in 1.19) fails to compile. It looks like it is sufficient to check for CBAUD definition and enable that place conditionally, since busybox correctly uses cfsetspeed() to set speed of the device. The attached patch does just that.