Index: uspace/lib/drv/generic/logbuf.c
===================================================================
--- uspace/lib/drv/generic/logbuf.c	(revision cfb797479986d908acecc09ba43bc68e3051022f)
+++ uspace/lib/drv/generic/logbuf.c	(revision 9b0a6b4e30ea5901e04229bc4f2ef37343a9e601)
@@ -35,4 +35,5 @@
 #include <ddf/log.h>
 #include <assert.h>
+#include <unistd.h>
 
 /** Formatting string for printing number of not-printed items. */
