Index: uspace/app/bdsh/scli.h
===================================================================
--- uspace/app/bdsh/scli.h	(revision 75701004b4fe1a0a5f2b92aef205e5bfbf9a69e3)
+++ uspace/app/bdsh/scli.h	(revision 379db9efebb974024006a4fe8299aa4a4f9ca63c)
@@ -31,4 +31,5 @@
 
 #include "config.h"
+#include <errno.h>
 #include <stdint.h>
 #include <stdio.h>
Index: uspace/app/sbi/src/os/os.h
===================================================================
--- uspace/app/sbi/src/os/os.h	(revision 75701004b4fe1a0a5f2b92aef205e5bfbf9a69e3)
+++ uspace/app/sbi/src/os/os.h	(revision 379db9efebb974024006a4fe8299aa4a4f9ca63c)
@@ -30,4 +30,6 @@
 #define OS_H_
 
+#include <errno.h>
+
 char *os_str_acat(const char *a, const char *b);
 char *os_str_aslice(const char *str, size_t start, size_t length);
Index: uspace/app/untar/main.c
===================================================================
--- uspace/app/untar/main.c	(revision 75701004b4fe1a0a5f2b92aef205e5bfbf9a69e3)
+++ uspace/app/untar/main.c	(revision 379db9efebb974024006a4fe8299aa4a4f9ca63c)
@@ -33,4 +33,5 @@
  */
 
+#include <errno.h>
 #include <stdio.h>
 #include <stdarg.h>
