aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4/patches/150-freebsd_fixes.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-07-22 03:09:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-07-22 03:09:10 +0000
commitf8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf (patch)
treecc27f5d243810b9431bfb1377a7bf10b6d651161 /tools/squashfs4/patches/150-freebsd_fixes.patch
parent26a6539a2ef6fbed4cfabb28d394850fea12fa8f (diff)
downloadupstream-f8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf.tar.gz
upstream-f8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf.tar.bz2
upstream-f8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf.zip
squashfs4: fix compilation on FreeBSD
SVN-Revision: 22347
Diffstat (limited to 'tools/squashfs4/patches/150-freebsd_fixes.patch')
-rw-r--r--tools/squashfs4/patches/150-freebsd_fixes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/squashfs4/patches/150-freebsd_fixes.patch b/tools/squashfs4/patches/150-freebsd_fixes.patch
new file mode 100644
index 0000000000..344d9ec683
--- /dev/null
+++ b/tools/squashfs4/patches/150-freebsd_fixes.patch
@@ -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"
+