[tools] squashfs4: fix compilation on FreeBSD
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Jul 2010 03:09:10 +0000 (03:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Jul 2010 03:09:10 +0000 (03:09 +0000)
SVN-Revision: 22347

tools/squashfs4/patches/150-freebsd_fixes.patch [new file with mode: 0644]

diff --git a/tools/squashfs4/patches/150-freebsd_fixes.patch b/tools/squashfs4/patches/150-freebsd_fixes.patch
new file mode 100644 (file)
index 0000000..344d9ec
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/squashfs-tools/pseudo.c
++++ b/squashfs-tools/pseudo.c
+@@ -31,6 +31,7 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <sys/stat.h>
+ #include "pseudo.h"