summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/hciattach_ti.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c
index 7eefef47..f79342dd 100644
--- a/tools/hciattach_ti.c
+++ b/tools/hciattach_ti.c
@@ -28,10 +28,12 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
+#include <stdlib.h>
#include <termios.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/uio.h>