disk: dirent.h is required for DIR

Without <dirent.h> include newer gcc releases
throw warnings about undefined "DIR".
This commit is contained in:
Sebastian Reichel authored and Pali Rohár committed 2016-01-13 22:23:29 +01:00
1 parent 055621d3a2
commit d4342a8cdf
1 file changed
+1
+1
View File
@@ -28,6 +28,7 @@
#ifdef __linux__
#include <sys/ioctl.h>
#include <linux/fs.h>
#include <dirent.h>
#endif
#include "disk.h"