Index: uspace/lib/c/generic/net/socket_client.c
===================================================================
--- uspace/lib/c/generic/net/socket_client.c	(revision 6b8200979d8daac47bccc812f910bbf881df8e94)
+++ uspace/lib/c/generic/net/socket_client.c	(revision 4d194beedbc53e41134a652c4e3d8be31fecff2b)
@@ -44,7 +44,7 @@
 #include <errno.h>
 #include <task.h>
+#include <ns.h>
 #include <ipc/services.h>
 #include <ipc/socket.h>
-#include <net/modules.h>
 #include <net/in.h>
 #include <net/socket.h>
@@ -284,5 +284,5 @@
 {
 	if (socket_globals.tcp_sess == NULL) {
-		socket_globals.tcp_sess = bind_service(SERVICE_TCP,
+		socket_globals.tcp_sess = service_bind(SERVICE_TCP,
 		    0, 0, SERVICE_TCP, socket_connection);
 	}
@@ -301,5 +301,5 @@
 {
 	if (socket_globals.udp_sess == NULL) {
-		socket_globals.udp_sess = bind_service(SERVICE_UDP,
+		socket_globals.udp_sess = service_bind(SERVICE_UDP,
 		    0, 0, SERVICE_UDP, socket_connection);
 	}
@@ -378,5 +378,5 @@
  * @return		Other error codes as defined for the NET_SOCKET message.
  * @return		Other error codes as defined for the
- *			bind_service() function.
+ *			service_bind() function.
  */
 int socket(int domain, int type, int protocol)
