diff --git a/tools/hciattach_qualcomm.c b/tools/hciattach_qualcomm.c
index 0e02e1e..eb72a0f 100644
--- a/tools/hciattach_qualcomm.c
+++ b/tools/hciattach_qualcomm.c
#include <sys/poll.h>
#include <sys/param.h>
#include <sys/ioctl.h>
+#include <sys/uio.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c
index c3caa49..5c7f3a5 100644
--- a/tools/hciattach_tialt.c
+++ b/tools/hciattach_tialt.c
#include <sys/poll.h>
#include <sys/param.h>
#include <sys/ioctl.h>
+#include <sys/uio.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>