Index: uspace/lib/posix/source/stdio.c
===================================================================
--- uspace/lib/posix/source/stdio.c	(revision a56cef94f0134cc76a541b53862ec1f1d710d49c)
+++ uspace/lib/posix/source/stdio.c	(revision 80743a1b2ba5306f70559161509a3376fa381a08)
@@ -53,5 +53,4 @@
 #include "libc/malloc.h"
 #include "libc/adt/list.h"
-#include "libc/sys/stat.h"
 
 /** Clears the stream's error and end-of-file indicators.
Index: uspace/lib/posix/source/sys/stat.c
===================================================================
--- uspace/lib/posix/source/sys/stat.c	(revision a56cef94f0134cc76a541b53862ec1f1d710d49c)
+++ uspace/lib/posix/source/sys/stat.c	(revision 80743a1b2ba5306f70559161509a3376fa381a08)
@@ -143,4 +143,20 @@
 }
 
+/**
+ * Create a directory.
+ * 
+ * @param path Path to the new directory.
+ * @param mode Permission bits to be set.
+ * @return Zero on success, -1 otherwise.
+ */
+int posix_mkdir(const char *path, mode_t mode)
+{
+	int rc = rcerrno(vfs_link_path, path, KIND_DIRECTORY);
+	if (rc != EOK)
+		return -1;
+	else
+		return 0;
+}
+
 /** @}
  */
