With the update to glibc 2.23, sys/types.h doesn't inherit
sys/sysmacros.h anymore. We need to include it manually.

Signed-off-by: Weedy <weedy2...@gmail.com>


--- /dev/null   2016-04-18 05:53:30.273258717 -0400
+++ tools/findutils/patches/125-glibc-2.23-sysmacros.patch      2016-04-24
15:36:39.330172567 -0400
@@ -0,0 +1,10 @@
+--- a/gl/lib/mountlist.c.bak   2016-04-24 15:33:43.668421848 -0400
++++ b/gl/lib/mountlist.c       2016-04-24 15:34:12.972045613 -0400
+@@ -59,6 +59,7 @@
+ #ifdef MOUNTED_GETMNTENT1       /* 4.3BSD, SunOS, HP-UX, Dynix, Irix.  */
+ # include <mntent.h>
+ # include <sys/types.h>
++# include <sys/sysmacros.h>
+ # if !defined MOUNTED
+ #  if defined _PATH_MOUNTED     /* GNU libc  */
+ #   define MOUNTED _PATH_MOUNTED
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to