2011-04-03 01:02:00 +00:00
|
|
|
--- a/squashfs-tools/mksquashfs.c
|
|
|
|
+++ b/squashfs-tools/mksquashfs.c
|
|
|
|
@@ -60,6 +60,10 @@
|
|
|
|
#include <sys/sysinfo.h>
|
|
|
|
#endif
|
2009-05-17 00:57:52 +00:00
|
|
|
|
|
|
|
+#ifndef FNM_EXTMATCH
|
|
|
|
+#define FNM_EXTMATCH 0
|
|
|
|
+#endif
|
|
|
|
+
|
2011-04-03 01:02:00 +00:00
|
|
|
#ifdef SQUASHFS_TRACE
|
|
|
|
#define TRACE(s, args...) \
|
|
|
|
do { \
|
2009-05-17 00:57:52 +00:00
|
|
|
--- a/squashfs-tools/unsquashfs.h
|
|
|
|
+++ b/squashfs-tools/unsquashfs.h
|
2011-04-03 01:02:00 +00:00
|
|
|
@@ -49,8 +49,14 @@
|
2009-05-17 00:57:52 +00:00
|
|
|
#define __BYTE_ORDER BYTE_ORDER
|
|
|
|
#define __BIG_ENDIAN BIG_ENDIAN
|
|
|
|
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
|
|
|
+#include <sys/sysctl.h>
|
|
|
|
#else
|
|
|
|
#include <endian.h>
|
|
|
|
+#include <sys/sysinfo.h>
|
2011-04-03 01:02:00 +00:00
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#ifndef FNM_EXTMATCH
|
|
|
|
+#define FNM_EXTMATCH 0
|
2009-05-17 00:57:52 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "squashfs_fs.h"
|
2011-04-03 01:02:00 +00:00
|
|
|
--- a/squashfs-tools/unsquashfs.c
|
|
|
|
+++ b/squashfs-tools/unsquashfs.c
|
|
|
|
@@ -29,7 +29,6 @@
|
|
|
|
#include "compressor.h"
|
|
|
|
#include "xattr.h"
|
|
|
|
|
|
|
|
-#include <sys/sysinfo.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
struct cache *fragment_cache, *data_cache;
|