From f8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 22 Jul 2010 03:09:10 +0000
Subject: [PATCH] squashfs4: fix compilation on FreeBSD

SVN-Revision: 22347
---
 tools/squashfs4/patches/150-freebsd_fixes.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 tools/squashfs4/patches/150-freebsd_fixes.patch

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"
+ 
-- 
GitLab