--- 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" |