summaryrefslogtreecommitdiff
blob: f8aed4c4862cb50d0d39f81d1ced8e7a89f723d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/setserial.c
+++ b/setserial.c
@@ -15,6 +15,9 @@
 #include <termios.h>
 #include <string.h>
 #include <errno.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
 
 #ifdef HAVE_ASM_IOCTLS_H
 #include <asm/ioctls.h>