]> git.pld-linux.org Git - packages/parted.git/blob - 0082-linux-Include-sys-sysmacros.h-for-major-macro.patch
- release 6 (by relup.sh)
[packages/parted.git] / 0082-linux-Include-sys-sysmacros.h-for-major-macro.patch
1 From ba5e0451b51c983e40afd123b6e0d3eddb55e610 Mon Sep 17 00:00:00 2001
2 From: "Richard W.M. Jones" <rjones@redhat.com>
3 Date: Sat, 24 Mar 2018 17:37:02 +0000
4 Subject: [PATCH 82/92] linux: Include <sys/sysmacros.h> for major() macro.
5
6 Since glibc 2.27 this header is required.
7 ---
8  libparted/arch/linux.c | 1 +
9  1 file changed, 1 insertion(+)
10
11 diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
12 index 31b98ab..7e86b51 100644
13 --- a/libparted/arch/linux.c
14 +++ b/libparted/arch/linux.c
15 @@ -41,6 +41,7 @@
16  #include <sys/utsname.h>        /* for uname() */
17  #include <scsi/scsi.h>
18  #include <assert.h>
19 +#include <sys/sysmacros.h>
20  #ifdef ENABLE_DEVICE_MAPPER
21  #include <libdevmapper.h>
22  #endif
23 -- 
24 2.17.1
25
This page took 0.042519 seconds and 3 git commands to generate.