- PLD merge
[packages/udisks.git] / headers.patch
1 diff -ur udisks-1.0.5/src/daemon.c udisks-1.0.5-headers/src/daemon.c
2 --- udisks-1.0.5/src/daemon.c   2014-03-10 09:57:48.000000000 +0100
3 +++ udisks-1.0.5-headers/src/daemon.c   2020-03-19 08:42:13.880014281 +0100
4 @@ -48,6 +48,7 @@
5  #include <net/if_arp.h>
6  #include <fcntl.h>
7  #include <signal.h>
8 +#include <sys/sysmacros.h>
9  
10  #include <glib.h>
11  #include <glib/gi18n-lib.h>
12 diff -ur udisks-1.0.5/src/device.c udisks-1.0.5-headers/src/device.c
13 --- udisks-1.0.5/src/device.c   2014-03-10 09:57:48.000000000 +0100
14 +++ udisks-1.0.5-headers/src/device.c   2020-03-19 08:41:41.483347182 +0100
15 @@ -41,6 +41,7 @@
16  #include <sys/ioctl.h>
17  #include <linux/cdrom.h>
18  #include <linux/loop.h>
19 +#include <sys/sysmacros.h>
20  
21  #include <glib.h>
22  #include <glib/gstdio.h>
23 diff -ur udisks-1.0.5/src/helpers/job-drive-detach.c udisks-1.0.5-headers/src/helpers/job-drive-detach.c
24 --- udisks-1.0.5/src/helpers/job-drive-detach.c 2014-03-10 09:57:48.000000000 +0100
25 +++ udisks-1.0.5-headers/src/helpers/job-drive-detach.c 2020-03-19 08:39:48.430012306 +0100
26 @@ -23,6 +23,9 @@
27  #include <errno.h>
28  #include <stdlib.h>
29  #include <time.h>
30 +#include <sys/types.h>
31 +#include <sys/stat.h>
32 +#include <unistd.h>
33  
34  #include <scsi/sg_lib.h>
35  #include <scsi/sg_cmds.h>
36 diff -ur udisks-1.0.5/src/mount-monitor.c udisks-1.0.5-headers/src/mount-monitor.c
37 --- udisks-1.0.5/src/mount-monitor.c    2014-03-10 09:58:42.000000000 +0100
38 +++ udisks-1.0.5-headers/src/mount-monitor.c    2020-03-19 08:42:04.806680837 +0100
39 @@ -30,6 +30,7 @@
40  #include <sys/types.h>
41  #include <sys/stat.h>
42  #include <mntent.h>
43 +#include <sys/sysmacros.h>
44  
45  #include <glib.h>
46  #include <glib/gi18n-lib.h>
47 diff -ur udisks-1.0.5/tools/udisks.c udisks-1.0.5-headers/tools/udisks.c
48 --- udisks-1.0.5/tools/udisks.c 2014-03-10 09:57:48.000000000 +0100
49 +++ udisks-1.0.5-headers/tools/udisks.c 2020-03-19 08:43:03.220014923 +0100
50 @@ -35,6 +35,7 @@
51  #include <pwd.h>
52  #include <grp.h>
53  #include <locale.h>
54 +#include <sys/sysmacros.h>
55  
56  #include <glib.h>
57  #include <glib/gi18n-lib.h>
58 diff -ur udisks-1.0.5/tools/umount-udisks.c udisks-1.0.5-headers/tools/umount-udisks.c
59 --- udisks-1.0.5/tools/umount-udisks.c  2014-03-10 09:57:48.000000000 +0100
60 +++ udisks-1.0.5-headers/tools/umount-udisks.c  2020-03-19 08:43:18.110015108 +0100
61 @@ -30,6 +30,7 @@
62  #include <string.h>
63  #include <sys/types.h>
64  #include <sys/stat.h>
65 +#include <sys/sysmacros.h>
66  #include <fcntl.h>
67  #include <pwd.h>
68  #include <grp.h>