Index: uspace/lib/c/include/unistd.h
===================================================================
--- uspace/lib/c/include/unistd.h	(revision ff2a62d3a210bacf29ceb1453b49ebe59b039133)
+++ uspace/lib/c/include/unistd.h	(revision 85124a90e04cd9520f2ee6ea0c68f27f34b83629)
@@ -58,4 +58,5 @@
 
 typedef uint32_t useconds_t;
+typedef uint32_t mseconds_t;
 
 extern int dup2(int oldfd, int newfd);
Index: uspace/lib/socket/include/icmp_api.h
===================================================================
--- uspace/lib/socket/include/icmp_api.h	(revision ff2a62d3a210bacf29ceb1453b49ebe59b039133)
+++ uspace/lib/socket/include/icmp_api.h	(revision 85124a90e04cd9520f2ee6ea0c68f27f34b83629)
@@ -41,4 +41,5 @@
 #include <net/inet.h>
 #include <sys/types.h>
+#include <unistd.h>
 
 #include <net_device.h>
@@ -48,8 +49,4 @@
 #include <icmp_codes.h>
 #include <icmp_common.h>
-
-/** Miliseconds type definition.
- */
-typedef size_t	mseconds_t;
 
 /** @name ICMP module application interface
