Index: uspace/drv/nic/ar9271/ar9271.c
===================================================================
--- uspace/drv/nic/ar9271/ar9271.c	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/ar9271.c	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -40,4 +40,5 @@
 #include <stdio.h>
 #include <ddf/interrupt.h>
+#include <errno.h>
 #include <nic.h>
 #include <macros.h>
Index: uspace/drv/nic/ar9271/ar9271.h
===================================================================
--- uspace/drv/nic/ar9271/ar9271.h	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/ar9271.h	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -36,4 +36,5 @@
 #define AR9271_H_
 
+#include <fibril_synch.h>
 #include <usb/dev/driver.h>
 #include "htc.h"
Index: uspace/drv/nic/ar9271/ath_usb.c
===================================================================
--- uspace/drv/nic/ar9271/ath_usb.c	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/ath_usb.c	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -36,4 +36,5 @@
 #include <usb/debug.h>
 #include <malloc.h>
+#include <errno.h>
 #include "ath_usb.h"
 
Index: uspace/drv/nic/ar9271/htc.h
===================================================================
--- uspace/drv/nic/ar9271/htc.h	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/htc.h	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -38,4 +38,5 @@
 
 #include <ieee80211.h>
+#include <fibril_synch.h>
 #include <usb/dev/driver.h>
 #include <sys/types.h>
Index: uspace/drv/nic/ar9271/hw.c
===================================================================
--- uspace/drv/nic/ar9271/hw.c	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/hw.c	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -36,4 +36,5 @@
 #include <usb/debug.h>
 #include <unistd.h>
+#include <errno.h>
 #include <nic.h>
 #include <ieee80211.h>
Index: uspace/drv/nic/ar9271/wmi.c
===================================================================
--- uspace/drv/nic/ar9271/wmi.c	(revision 8a64320e304a59746f5987caeba986e6baf11dd7)
+++ uspace/drv/nic/ar9271/wmi.c	(revision fb1007efd862a6a47e2acf22a761d8507bd10c0b)
@@ -34,4 +34,5 @@
 
 #include <usb/debug.h>
+#include <errno.h>
 #include <malloc.h>
 #include <mem.h>
