harden mo file processing for locale/translations
[oweals/musl.git] / src / dirent / opendir.c
index d33d89280dfc86e9558d17b0c34a7b1a4f6ebad1..5cb84e303feea1746c64e3b255bd7fe76389e49b 100644 (file)
@@ -1,11 +1,7 @@
 #define _GNU_SOURCE
 #include <dirent.h>
 #include <fcntl.h>
-#include <sys/stat.h>
-#include <errno.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <limits.h>
 #include "__dirent.h"
 #include "syscall.h"