Index: uspace/srv/devman/devman.c
===================================================================
--- uspace/srv/devman/devman.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/devman/devman.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -39,4 +39,5 @@
 #include <devmap.h>
 #include <str_error.h>
+#include <stdio.h>
 
 #include "devman.h"
Index: uspace/srv/fs/fat/fat_fat.c
===================================================================
--- uspace/srv/fs/fat/fat_fat.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/fs/fat/fat_fat.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -47,4 +47,5 @@
 #include <assert.h>
 #include <fibril_synch.h>
+#include <malloc.h>
 #include <mem.h>
 
Index: uspace/srv/fs/fat/fat_idx.c
===================================================================
--- uspace/srv/fs/fat/fat_idx.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/fs/fat/fat_idx.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -44,4 +44,5 @@
 #include <assert.h>
 #include <fibril_synch.h>
+#include <malloc.h>
 
 /** Each instance of this type describes one interval of freed VFS indices. */
Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -55,4 +55,5 @@
 #include <sys/mman.h>
 #include <align.h>
+#include <malloc.h>
 
 #define FAT_NODE(node)	((node) ? (fat_node_t *) (node)->data : NULL)
Index: uspace/srv/hw/netif/ne2000/dp8390.c
===================================================================
--- uspace/srv/hw/netif/ne2000/dp8390.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/hw/netif/ne2000/dp8390.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -53,4 +53,5 @@
 #include <byteorder.h>
 #include <errno.h>
+#include <stdio.h>
 #include <libarch/ddi.h>
 #include <net/packet.h>
Index: uspace/srv/ns/clonable.c
===================================================================
--- uspace/srv/ns/clonable.c	(revision b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/ns/clonable.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -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 b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/ns/service.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -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 b2fb47fd7ac8cdf723f6c2884d9c5e9d5fee0c41)
+++ uspace/srv/ns/task.c	(revision 74c8f34494162616317c01dd0cbff697b306111a)
@@ -39,4 +39,5 @@
 #include <stdio.h>
 #include <macros.h>
+#include <malloc.h>
 #include "task.h"
 #include "ns.h"
