Index: uspace/srv/ns/clonable.c
===================================================================
--- uspace/srv/ns/clonable.c	(revision 6119f247f3183c16bdfe692a5c235f69d6c726ff)
+++ uspace/srv/ns/clonable.c	(revision afdcc60e9cc75aa7bdedc29f54dc7ea32809d95c)
@@ -78,5 +78,5 @@
 	if (list_empty(&cs_req)) {
 		/* There was no pending connection request. */
-		printf(NAME ": Unexpected clonable server.\n");
+		printf("%s: Unexpected clonable server.\n", NAME);
 		ipc_answer_0(callid, EBUSY);
 		return;
Index: uspace/srv/ns/service.c
===================================================================
--- uspace/srv/ns/service.c	(revision 6119f247f3183c16bdfe692a5c235f69d6c726ff)
+++ uspace/srv/ns/service.c	(revision afdcc60e9cc75aa7bdedc29f54dc7ea32809d95c)
@@ -35,4 +35,6 @@
 #include <assert.h>
 #include <errno.h>
+#include <stdio.h>
+#include <malloc.h>
 #include "service.h"
 #include "ns.h"
Index: uspace/srv/ns/task.c
===================================================================
--- uspace/srv/ns/task.c	(revision 6119f247f3183c16bdfe692a5c235f69d6c726ff)
+++ uspace/srv/ns/task.c	(revision afdcc60e9cc75aa7bdedc29f54dc7ea32809d95c)
@@ -39,4 +39,5 @@
 #include <stdio.h>
 #include <macros.h>
+#include <malloc.h>
 #include "task.h"
 #include "ns.h"
