mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
Fix build for some non-x86 archs
Ref: https://buildd.debian.org/status/fetch.php?pkg=finit&arch=mips64el&ver=3.2%7Erc3-2&stamp=1609910244&raw=0 https://buildd.debian.org/status/fetch.php?pkg=finit&arch=sparc64&ver=3.2%7Erc3-2&stamp=1609869348&raw=0
This commit is contained in:
1 parent
4170a61d0b
commit
a7e2224f05
2 files changed
+4
No files matched your search
@@ -138,7 +138,9 @@ static struct sigmap {
|
|||||||
/* Nonstandard signals found in all modern POSIX systems
|
/* Nonstandard signals found in all modern POSIX systems
|
||||||
(including both BSD and Linux). */
|
(including both BSD and Linux). */
|
||||||
{ SIGWINCH, "SIGWINCH" },
|
{ SIGWINCH, "SIGWINCH" },
|
||||||
|
#ifdef SIGSTKFLT
|
||||||
{ SIGSTKFLT, "SIGSTKFLT" },
|
{ SIGSTKFLT, "SIGSTKFLT" },
|
||||||
|
#endif
|
||||||
{ SIGPWR, "SIGPWR" },
|
{ SIGPWR, "SIGPWR" },
|
||||||
|
|
||||||
/* Archaic names for compatibility. */
|
/* Archaic names for compatibility. */
|
||||||
|
|||||||
@@ -61,10 +61,12 @@ speed_t stty_parse_speed(char *baud)
|
|||||||
{ 1152000, B1152000 },
|
{ 1152000, B1152000 },
|
||||||
{ 1500000, B1500000 },
|
{ 1500000, B1500000 },
|
||||||
{ 2000000, B2000000 },
|
{ 2000000, B2000000 },
|
||||||
|
#ifdef B4000000
|
||||||
{ 2500000, B2500000 },
|
{ 2500000, B2500000 },
|
||||||
{ 3000000, B3000000 },
|
{ 3000000, B3000000 },
|
||||||
{ 3500000, B3500000 },
|
{ 3500000, B3500000 },
|
||||||
{ 4000000, B4000000 },
|
{ 4000000, B4000000 },
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!baud || !baud[0])
|
if (!baud || !baud[0])
|
||||||
|
|||||||
Reference in new issue
Block a user