diff options
author | Sebastian Reichel <sre@ring0.de> | 2016-01-11 08:25:35 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-01-13 22:23:29 +0100 |
commit | d4342a8cdffb15d3863154f1b9f7fcbee0a6e3ee (patch) | |
tree | 5d7ea4779acb3106b43cc06064c4bc6a3ecde5de | |
parent | 055621d3a2aefceb6427a4a67fd00be146fe7193 (diff) | |
download | 0xFFFF-d4342a8cdffb15d3863154f1b9f7fcbee0a6e3ee.tar.bz2 |
disk: dirent.h is required for DIR
Without <dirent.h> include newer gcc releases
throw warnings about undefined "DIR".
-rw-r--r-- | src/disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ #ifdef __linux__ #include <sys/ioctl.h> #include <linux/fs.h> +#include <dirent.h> #endif #include "disk.h" |