Index: uspace/lib/drv/generic/dev_iface.c
===================================================================
--- uspace/lib/drv/generic/dev_iface.c	(revision 585635856440deab73ad5891daab8fa87901aa68)
+++ uspace/lib/drv/generic/dev_iface.c	(revision 805552d0df94261451a5f7df54c5bd5cf4cddbc5)
@@ -37,4 +37,5 @@
 
 #include <assert.h>
+#include <stddef.h>
 
 #include "dev_iface.h"
Index: uspace/lib/drv/generic/logbuf.c
===================================================================
--- uspace/lib/drv/generic/logbuf.c	(revision 585635856440deab73ad5891daab8fa87901aa68)
+++ uspace/lib/drv/generic/logbuf.c	(revision 805552d0df94261451a5f7df54c5bd5cf4cddbc5)
@@ -33,7 +33,7 @@
 #include <libarch/common.h>
 #include <stdio.h>
+#include <stddef.h>
 #include <ddf/log.h>
 #include <assert.h>
-#include <unistd.h>
 
 /** Formatting string for printing number of not-printed items. */
