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.

19 lines
346 B

  1. --- a/setserial.c
  2. +++ b/setserial.c
  3. @@ -11,6 +11,8 @@
  4. */
  5. #include <stdio.h>
  6. +#include <stdlib.h>
  7. +#include <unistd.h>
  8. #include <fcntl.h>
  9. #include <termios.h>
  10. #include <string.h>
  11. @@ -22,6 +24,7 @@
  12. #ifdef HAVE_LINUX_HAYESESP_H
  13. #include <linux/hayesesp.h>
  14. #endif
  15. +#include <sys/ioctl.h>
  16. #include <linux/serial.h>
  17. #include "version.h"