Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 64f051963d6cdeebd19f9e7f0a7e584a1f7acc60 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 11 Aug 2018 19:12:57 -0700 |
| 4 | Subject: [PATCH] include sys/sysmacros.h |
| 5 | |
| 6 | fixes build with glibc 2.28+ |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | src/daemon.c | 1 + |
| 12 | src/device.c | 1 + |
| 13 | src/mount-monitor.c | 1 + |
| 14 | tools/udisks.c | 1 + |
| 15 | tools/umount-udisks.c | 1 + |
| 16 | 5 files changed, 5 insertions(+) |
| 17 | |
| 18 | diff --git a/src/daemon.c b/src/daemon.c |
| 19 | index 14e952f..2c61cfb 100644 |
| 20 | --- a/src/daemon.c |
| 21 | +++ b/src/daemon.c |
| 22 | @@ -39,6 +39,7 @@ |
| 23 | #include <errno.h> |
| 24 | #include <string.h> |
| 25 | #include <sys/types.h> |
| 26 | +#include <sys/sysmacros.h> |
| 27 | #include <sys/stat.h> |
| 28 | #include <sys/time.h> |
| 29 | #include <sys/resource.h> |
| 30 | diff --git a/src/device.c b/src/device.c |
| 31 | index d73f9d6..5911d78 100644 |
| 32 | --- a/src/device.c |
| 33 | +++ b/src/device.c |
| 34 | @@ -29,6 +29,7 @@ |
| 35 | #include <errno.h> |
| 36 | #include <string.h> |
| 37 | #include <sys/types.h> |
| 38 | +#include <sys/sysmacros.h> |
| 39 | #include <sys/wait.h> |
| 40 | #include <sys/stat.h> |
| 41 | #include <sys/time.h> |
| 42 | diff --git a/src/mount-monitor.c b/src/mount-monitor.c |
| 43 | index 573a69c..ccf3365 100644 |
| 44 | --- a/src/mount-monitor.c |
| 45 | +++ b/src/mount-monitor.c |
| 46 | @@ -28,6 +28,7 @@ |
| 47 | #include <errno.h> |
| 48 | #include <string.h> |
| 49 | #include <sys/types.h> |
| 50 | +#include <sys/sysmacros.h> |
| 51 | #include <sys/stat.h> |
| 52 | #include <mntent.h> |
| 53 | |
| 54 | diff --git a/tools/udisks.c b/tools/udisks.c |
| 55 | index d30159b..f24a30a 100644 |
| 56 | --- a/tools/udisks.c |
| 57 | +++ b/tools/udisks.c |
| 58 | @@ -29,6 +29,7 @@ |
| 59 | #include <errno.h> |
| 60 | #include <string.h> |
| 61 | #include <sys/types.h> |
| 62 | +#include <sys/sysmacros.h> |
| 63 | #include <sys/stat.h> |
| 64 | #include <sys/wait.h> |
| 65 | #include <fcntl.h> |
| 66 | diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c |
| 67 | index 2813fe0..5cf6b4d 100644 |
| 68 | --- a/tools/umount-udisks.c |
| 69 | +++ b/tools/umount-udisks.c |
| 70 | @@ -29,6 +29,7 @@ |
| 71 | #include <errno.h> |
| 72 | #include <string.h> |
| 73 | #include <sys/types.h> |
| 74 | +#include <sys/sysmacros.h> |
| 75 | #include <sys/stat.h> |
| 76 | #include <fcntl.h> |
| 77 | #include <pwd.h> |