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

--- a/setserial.c
+++ b/setserial.c
@@ -11,6 +11,8 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <string.h>
@@ -22,6 +24,7 @@
#ifdef HAVE_LINUX_HAYESESP_H
#include <linux/hayesesp.h>
#endif
+#include <sys/ioctl.h>
#include <linux/serial.h>
#include "version.h"