You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
438 B

  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"