summaryrefslogtreecommitdiffstats
path: root/src/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/disk.c')
-rw-r--r--src/disk.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/disk.c b/src/disk.c
index 50dac45..8a16ca3 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -16,12 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef __linux__
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE
-#endif
-#endif
-
#include <fcntl.h>
#include <libgen.h>
#include <unistd.h>
@@ -32,6 +26,7 @@
#include <sys/statvfs.h>
#ifdef __linux__
+#include <sys/sysmacros.h>
#include <sys/ioctl.h>
#include <linux/fs.h>
#include <dirent.h>