]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/parted-3.2-sysmacros.patch
wget: Update to 1.20.2
[ipfire-2.x.git] / src / patches / parted-3.2-sysmacros.patch
1 https://bugs.gentoo.org/580022
2
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
7
8 Linux C libs are moving away from including this header implicitly via
9 sys/types.h, so include it explicitly.
10 ---
11 libparted/arch/linux.c | 1 +
12 1 file changed, 1 insertion(+)
13
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
18 @@ -37,6 +37,7 @@
19 #include <dirent.h>
20 #include <sys/ioctl.h>
21 #include <sys/stat.h>
22 +#include <sys/sysmacros.h>
23 #include <sys/types.h>
24 #include <sys/utsname.h> /* for uname() */
25 #include <scsi/scsi.h>
26 --
27 2.8.2
28