aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit5cc9f1ca064375d695e9dad3dff65dd24b7cf3bd (patch)
tree6f42cbbae179c04c22f3131eaaf2bfe50ed2815c /tools
parent1f704a6e49f2889610aa2662816dab8dc69d6f11 (diff)
downloadupstream-5cc9f1ca064375d695e9dad3dff65dd24b7cf3bd.tar.gz
upstream-5cc9f1ca064375d695e9dad3dff65dd24b7cf3bd.tar.bz2
upstream-5cc9f1ca064375d695e9dad3dff65dd24b7cf3bd.zip
[tools] squashfs4: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-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"
+