Index: uspace/srv/net/tl/icmp/icmp.c
===================================================================
--- uspace/srv/net/tl/icmp/icmp.c	(revision 728258239a283976f89c250a3bff3f18e0ee306a)
+++ uspace/srv/net/tl/icmp/icmp.c	(revision e98b1d582137f7a2c521f6e31e0cee410b5acb65)
@@ -46,4 +46,5 @@
 #include <sys/time.h>
 #include <sys/types.h>
+#include <errno.h>
 
 #include <net_err.h>
@@ -66,5 +67,4 @@
 #include <net_interface.h>
 #include <socket_codes.h>
-#include <socket_errno.h>
 #include <tl_messages.h>
 #include <tl_interface.h>
Index: uspace/srv/net/tl/tcp/tcp.c
===================================================================
--- uspace/srv/net/tl/tcp/tcp.c	(revision 728258239a283976f89c250a3bff3f18e0ee306a)
+++ uspace/srv/net/tl/tcp/tcp.c	(revision e98b1d582137f7a2c521f6e31e0cee410b5acb65)
@@ -42,4 +42,5 @@
 //TODO remove stdio
 #include <stdio.h>
+#include <errno.h>
 
 #include <ipc/ipc.h>
@@ -63,5 +64,4 @@
 #include <net_interface.h>
 #include <socket_codes.h>
-#include <socket_errno.h>
 #include <tcp_codes.h>
 #include <socket_core.h>
Index: uspace/srv/net/tl/udp/udp.c
===================================================================
--- uspace/srv/net/tl/udp/udp.c	(revision 728258239a283976f89c250a3bff3f18e0ee306a)
+++ uspace/srv/net/tl/udp/udp.c	(revision e98b1d582137f7a2c521f6e31e0cee410b5acb65)
@@ -42,4 +42,5 @@
 #include <ipc/ipc.h>
 #include <ipc/services.h>
+#include <errno.h>
 
 #include <net_err.h>
@@ -60,5 +61,4 @@
 #include <net_interface.h>
 #include <socket_codes.h>
-#include <socket_errno.h>
 #include <socket_core.h>
 #include <socket_messages.h>
