blob: 65bca65100050ac167ded9756a59f7222738775e [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001Description: Fix FTBFS with glibc 2.28
2Author: Adrian Bunk <bunk@debian.org>
3Bug-Debian: https://bugs.debian.org/917055
4
5This patch is taken from
6http://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.1.debian.tar.xz
7
8Upstream-Status: Inappropriate [upstream is dead]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10--- blktool-4.orig/blktool.c
11+++ blktool-4/blktool.c
12@@ -18,6 +18,7 @@
13 #include <unistd.h>
14 #include <sys/stat.h>
15 #include <sys/ioctl.h>
16+#include <sys/sysmacros.h>
17 #include <fcntl.h>
18 #include <errno.h>
19 #include <getopt.h>