tools/findutils: include sysmacros.h explicitly
[openwrt/openwrt.git] / tools / findutils / patches / 100-include_sysmacros.patch
1 --- a/gl/lib/mountlist.c
2 +++ b/gl/lib/mountlist.c
3 @@ -17,6 +17,10 @@
4
5 #include <config.h>
6
7 +#ifdef MAJOR_IN_SYSMACROS
8 +# include <sys/sysmacros.h>
9 +#endif
10 +
11 #include "mountlist.h"
12
13 #include <limits.h>