From bf98b86a5df5fcfb658d77fd5e0897ca87a35e8e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 25 Apr 2016 11:58:47 +0200 Subject: [PATCH] Include sys/sysmacros.h explicitely. Recent glibc versions do not expose major() and minor() without an explicit include of sysmacros.h anymore, therefor add it. Also remove duplicate types.h include while we're at it. Signed-off-by: Jo-Philipp Wich --- ext4_utils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext4_utils.h b/ext4_utils.h index 2ad05a0..f7c4b7f 100644 --- a/ext4_utils.h +++ b/ext4_utils.h @@ -27,9 +27,8 @@ extern "C" { #define _FILE_OFFSET_BITS 64 #define _LARGEFILE64_SOURCE 1 #include +#include #include - -#include #include #include #include -- 2.11.0