17 lines
278 B
Diff
17 lines
278 B
Diff
patch to enable compilation on systems that don't use glibc, such as Alpine
|
|
--- src/stty.c
|
|
+++ src/stty.c
|
|
@@ -34,6 +34,12 @@
|
|
|
|
extern int errorcode;
|
|
|
|
+#if !defined(EXTA)
|
|
+#define EXTA B19200
|
|
+#endif
|
|
+#if !defined(EXTB)
|
|
+#define EXTB B38400
|
|
+#endif
|
|
|
|
#if USE_STTY == SGTTYB
|
|
|