1
0

100-musl-compat.patch 438 B

1234567891011121314151617
  1. Index: picocom-1.7/term.c
  2. ===================================================================
  3. --- picocom-1.7.orig/term.c
  4. +++ picocom-1.7/term.c
  5. @@ -33,10 +33,11 @@
  6. #include <string.h>
  7. #include <errno.h>
  8. #include <unistd.h>
  9. -#ifdef __linux__
  10. +#if defined(__linux__) && (defined(__GLIBC__) || defined(__UCLIBC__))
  11. #include <termio.h>
  12. #else
  13. #include <termios.h>
  14. +#include <sys/ioctl.h>
  15. #endif /* of __linux__ */
  16. #include "term.h"