projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/findutils: include sysmacros.h explicitly
[openwrt/openwrt.git]
/
tools
/
findutils
/
patches
/
100-include_sysmacros.patch
diff --git a/tools/findutils/patches/100-include_sysmacros.patch
b/tools/findutils/patches/100-include_sysmacros.patch
new file mode 100644
(file)
index 0000000..
82b1ee9
--- /dev/null
+++ b/
tools/findutils/patches/100-include_sysmacros.patch
@@ -0,0
+1,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>