aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocfs2-tools/fix-sysmacros.patch
blob: 42e2dcfa47d09e0a208b63b999bf0da34f62a353 (plain) (blame)
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
diff --git a/mounted.ocfs2/mounted.c b/mounted.ocfs2/mounted.c
index a1b8172..c0fc09e 100644
--- a/mounted.ocfs2/mounted.c
+++ b/mounted.ocfs2/mounted.c
@@ -36,6 +36,7 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <sys/sysmacros.h>
 
 #include <uuid/uuid.h>
 
diff --git a/ocfs2console/blkid/devname.c b/ocfs2console/blkid/devname.c
index 87d5cbe..ce1d847 100644
--- a/ocfs2console/blkid/devname.c
+++ b/ocfs2console/blkid/devname.c
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <sys/sysmacros.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
diff --git a/ocfs2console/blkid/devno.c b/ocfs2console/blkid/devno.c
index e665e38..370b169 100644
--- a/ocfs2console/blkid/devno.c
+++ b/ocfs2console/blkid/devno.c
@@ -12,6 +12,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <sys/sysmacros.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif