summaryrefslogtreecommitdiff
path: root/patches/ubase-sysmacros.patch
blob: 53a1386b7514b1b3ca013172d4dd69969688cd85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
diff --git a/libutil/tty.c b/libutil/tty.c
index bceb01e..8a2cd73 100644
--- a/libutil/tty.c
+++ b/libutil/tty.c
@@ -1,6 +1,7 @@
 /* See LICENSE file for copyright and license details. */
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 
 #include <fcntl.h>
 #include <dirent.h>
diff --git a/mknod.c b/mknod.c
index 8de35c7..27f91e0 100644
--- a/mknod.c
+++ b/mknod.c
@@ -1,6 +1,7 @@
 /* See LICENSE file for copyright and license details. */
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 
 #include <fcntl.h>
 #include <stdio.h>
diff --git a/mount.c b/mount.c
index e3d00b8..4f9f3a1 100644
--- a/mount.c
+++ b/mount.c
@@ -3,6 +3,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <sys/sysmacros.h>
 
 #include <errno.h>
 #include <limits.h>
diff --git a/mountpoint.c b/mountpoint.c
index 8f205a2..fd3a133 100644
--- a/mountpoint.c
+++ b/mountpoint.c
@@ -1,6 +1,7 @@
 /* See LICENSE file for copyright and license details. */
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 
 #include <mntent.h>
 #include <stdio.h>
diff --git a/ps.c b/ps.c
index 00405a5..f2f702f 100644
--- a/ps.c
+++ b/ps.c
@@ -1,7 +1,8 @@
 /* See LICENSE file for copyright and license details. */
 #include <sys/ioctl.h>
 #include <sys/sysinfo.h>
-
+#include <sys/sysmacros.h>
+ 
 #include <errno.h>
 #include <libgen.h>
 #include <limits.h>
diff --git a/stat.c b/stat.c
index 220a659..40b372d 100644
--- a/stat.c
+++ b/stat.c
@@ -1,6 +1,7 @@
 /* See LICENSE file for copyright and license details. */
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 
 #include <inttypes.h>
 #include <stdio.h>