Index: uspace/srv/ns/clonable.c
===================================================================
--- uspace/srv/ns/clonable.c	(revision 7b616e23c349fc3f8cb4c5132825f4f5ef12c96a)
+++ uspace/srv/ns/clonable.c	(revision 40feeac3d6d981d671abe77b20b3aa999c586faf)
@@ -38,5 +38,5 @@
 #include <assert.h>
 #include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <loader/loader.h>
 #include "clonable.h"
Index: uspace/srv/ns/service.c
===================================================================
--- uspace/srv/ns/service.c	(revision 7b616e23c349fc3f8cb4c5132825f4f5ef12c96a)
+++ uspace/srv/ns/service.c	(revision 40feeac3d6d981d671abe77b20b3aa999c586faf)
@@ -36,5 +36,5 @@
 #include <errno.h>
 #include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include "service.h"
 #include "ns.h"
Index: uspace/srv/ns/task.c
===================================================================
--- uspace/srv/ns/task.c	(revision 7b616e23c349fc3f8cb4c5132825f4f5ef12c96a)
+++ uspace/srv/ns/task.c	(revision 40feeac3d6d981d671abe77b20b3aa999c586faf)
@@ -37,7 +37,7 @@
 #include <errno.h>
 #include <assert.h>
+#include <macros.h>
 #include <stdio.h>
-#include <macros.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <types/task.h>
 #include "task.h"
