Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | Description: Fix FTBFS with glibc 2.28 |
| 2 | Author: Adrian Bunk <bunk@debian.org> |
| 3 | Bug-Debian: https://bugs.debian.org/917055 |
| 4 | |
| 5 | This patch is taken from |
| 6 | http://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.1.debian.tar.xz |
| 7 | |
| 8 | Upstream-Status: Inappropriate [upstream is dead] |
| 9 | Signed-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> |