Browse Source

squashfs4: fix compilation on FreeBSD

SVN-Revision: 22347
Jo-Philipp Wich 15 years ago
parent
commit
f8c3ebc7c6
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tools/squashfs4/patches/150-freebsd_fixes.patch

+ 10 - 0
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"
+