Index: uspace/lib/c/generic/inet/addr.c
===================================================================
--- uspace/lib/c/generic/inet/addr.c	(revision a62ceaf039a5a22dc93ec3e4767e997f0730bbbe)
+++ uspace/lib/c/generic/inet/addr.c	(revision e48947e50a7052fa90231d75f84e7481c8c7d201)
@@ -36,7 +36,7 @@
 #include <assert.h>
 #include <errno.h>
-#include <unistd.h>
 #include <inet/addr.h>
 #include <stdio.h>
+#include <stddef.h>
 #include <malloc.h>
 #include <bitops.h>
Index: uspace/lib/c/generic/inet/hostname.c
===================================================================
--- uspace/lib/c/generic/inet/hostname.c	(revision a62ceaf039a5a22dc93ec3e4767e997f0730bbbe)
+++ uspace/lib/c/generic/inet/hostname.c	(revision e48947e50a7052fa90231d75f84e7481c8c7d201)
@@ -37,4 +37,5 @@
 #include <inet/hostname.h>
 #include <stdlib.h>
+#include <stddef.h>
 #include <str.h>
 
