diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c
index ec5449ff82..fed85afcc3 100644
--- a/libretro-common/file/file_path.c
+++ b/libretro-common/file/file_path.c
@@ -42,11 +42,9 @@
 #endif
 #elif defined(VITA)
 #include <psp2/io/fcntl.h>
-#include <psp2/io/dirent.h>
 #else
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <dirent.h>
 #include <unistd.h>
 #endif