(wrong attachment in the previous report, this one is the correct file) building tools/squashfs4 on FreeBSD fails due to a missing #include, which this patch fixes. The patch is for trunk but might apply also to other branches
--- /dev/null 2009-07-08 18:33:00.000000000 +0200 +++ tools/squashfs4/patches/120-stat_h.patch 2009-07-08 17:23:25.000000000 +0200 @@ -0,0 +1,10 @@ +--- squashfs4.0/squashfs-tools/pseudo.c.orig 2009-07-08 17:21:27.000000000 +0200 ++++ squashfs4.0/squashfs-tools/pseudo.c 2009-07-08 17:21:47.000000000 +0200 +@@ -30,6 +30,7 @@ + #include <string.h> + #include <stdlib.h> + #include <sys/types.h> ++#include <sys/stat.h> // needed on FreeBSD for S_IFBLK + + #include "pseudo.h" + _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
