aboutsummaryrefslogtreecommitdiffstats
path: root/tools/findutils/patches/100-include_sysmacros.patch
blob: 82b1ee9a42b57219a79d26786c029c57d50525f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/gl/lib/mountlist.c
+++ b/gl/lib/mountlist.c
@@ -17,6 +17,10 @@
 
 #include <config.h>
 
+#ifdef MAJOR_IN_SYSMACROS
+# include <sys/sysmacros.h>
+#endif
+
 #include "mountlist.h"
 
 #include <limits.h>