Index: uspace/lib/c/include/dirent.h
===================================================================
--- uspace/lib/c/include/dirent.h	(revision d066259279e2e85ad364d7828aa3db232f394ec4)
+++ uspace/lib/c/include/dirent.h	(revision 391996b40da26d5ae65981a3c74dfd3d413bd01e)
@@ -38,15 +38,9 @@
 #define NAME_MAX  256
 
-#include <offset.h>
-
 struct dirent {
 	char d_name[NAME_MAX + 1];
 };
 
-typedef struct {
-	int fd;
-	struct dirent res;
-	aoff64_t pos;
-} DIR;
+typedef struct __dirstream DIR;
 
 extern DIR *opendir(const char *);
