Index: uspace/lib/posix/sys/stat.h
===================================================================
--- uspace/lib/posix/sys/stat.h	(revision e7f7c930327ee4da9c50b74f2cdf47de45266d0b)
+++ uspace/lib/posix/sys/stat.h	(revision 41e2118326f0cb86aec205f8eeebb59a8605649f)
@@ -40,9 +40,4 @@
 #include "types.h"
 #include "../time.h"
-#include <ipc/devmap.h>
-#include <task.h>
-
-typedef devmap_handle_t posix_dev_t;
-typedef task_id_t posix_pid_t;
 
 /* values are the same as on Linux */
@@ -139,6 +134,4 @@
 
 #ifndef LIBPOSIX_INTERNAL
-	#define dev_t posix_dev_t
-	#define pid_t posix_pid_t
 	#define fstat posix_fstat
 	#define lstat posix_lstat
