Index: uspace/srv/net/tl/tcp/tcp.c
===================================================================
--- uspace/srv/net/tl/tcp/tcp.c	(revision e4554d4cd2ebcf91fb39f3fa98bbd0f229e55fa3)
+++ uspace/srv/net/tl/tcp/tcp.c	(revision 88e127ee0bb8923637bdd782e2a0ca3803cd7faf)
@@ -47,4 +47,5 @@
 #include <ipc/ipc.h>
 #include <ipc/services.h>
+#include <ipc/socket.h>
 
 #include <net/socket_codes.h>
@@ -67,5 +68,4 @@
 #include <tcp_codes.h>
 #include <socket_core.h>
-#include <socket_messages.h>
 #include <tl_common.h>
 #include <tl_messages.h>
Index: uspace/srv/net/tl/udp/udp.c
===================================================================
--- uspace/srv/net/tl/udp/udp.c	(revision e4554d4cd2ebcf91fb39f3fa98bbd0f229e55fa3)
+++ uspace/srv/net/tl/udp/udp.c	(revision 88e127ee0bb8923637bdd782e2a0ca3803cd7faf)
@@ -42,4 +42,5 @@
 #include <ipc/ipc.h>
 #include <ipc/services.h>
+#include <ipc/socket.h>
 #include <errno.h>
 #include <err.h>
@@ -63,5 +64,4 @@
 #include <net_interface.h>
 #include <socket_core.h>
-#include <socket_messages.h>
 #include <tl_common.h>
 #include <tl_local.h>
