From: Jo-Philipp Wich Date: Mon, 25 Apr 2016 09:58:47 +0000 (+0200) Subject: Include sys/sysmacros.h explicitely. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bf98b86a5df5fcfb658d77fd5e0897ca87a35e8e;p=project%2Fmake_ext4fs.git 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 --- 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