1 https://bugs.gentoo.org/580022
3 From dec8995fe80508374beba6356f6ecbba8ef6b18b Mon Sep 17 00:00:00 2001
4 From: Mike Frysinger <vapier@gentoo.org>
5 Date: Tue, 21 Jun 2016 15:01:08 -0400
6 Subject: [PATCH] include sysmacros.h for major/minor/makedev
8 Linux C libs are moving away from including this header implicitly via
9 sys/types.h, so include it explicitly.
11 libparted/arch/linux.c | 1 +
12 1 file changed, 1 insertion(+)
14 diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
15 index 326b95619d31..e5c168be3c68 100644
16 --- a/libparted/arch/linux.c
17 +++ b/libparted/arch/linux.c
20 #include <sys/ioctl.h>
22 +#include <sys/sysmacros.h>
23 #include <sys/types.h>
24 #include <sys/utsname.h> /* for uname() */
25 #include <scsi/scsi.h>