summaryrefslogtreecommitdiff
path: root/system/parted/sysmacros.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-08-05 01:18:12 +0000
committerSamuel Holland <samuel@sholland.org>2019-08-05 01:18:12 +0000
commitafd97aad8dc1b39b6f4aa3be2adaef229aebf71e (patch)
treecd56c74058f04c04dbd4070996ae7009d0b07d3b /system/parted/sysmacros.patch
parent80332505cb5ffb75c400ca02bfd80deed7d09f5a (diff)
downloadpackages-afd97aad8dc1b39b6f4aa3be2adaef229aebf71e.tar.gz
packages-afd97aad8dc1b39b6f4aa3be2adaef229aebf71e.tar.bz2
packages-afd97aad8dc1b39b6f4aa3be2adaef229aebf71e.tar.xz
packages-afd97aad8dc1b39b6f4aa3be2adaef229aebf71e.zip
system/parted: Fix build for major/minor move
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'system/parted/sysmacros.patch')
-rw-r--r--system/parted/sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/parted/sysmacros.patch b/system/parted/sysmacros.patch
new file mode 100644
index 000000000..b33767c66
--- /dev/null
+++ b/system/parted/sysmacros.patch
@@ -0,0 +1,10 @@
+--- parted-3.2/libparted/arch/linux.c
++++ parted-3.2/libparted/arch/linux.c
+@@ -37,6 +37,7 @@
+ #include <dirent.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/utsname.h> /* for uname() */
+ #include <scsi/scsi.h>