about summary refs log tree commit diff
path: root/sysdeps/generic/scandir64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/scandir64.c')
-rw-r--r--sysdeps/generic/scandir64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/scandir64.c b/sysdeps/generic/scandir64.c
index 0479c49ac9..fff583c7a3 100644
--- a/sysdeps/generic/scandir64.c
+++ b/sysdeps/generic/scandir64.c
@@ -16,6 +16,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <dirent.h>
+
 #define SCANDIR __scandir64
 #define READDIR __readdir64
 #define DIRENT_TYPE struct dirent64