mac80211: update to compat-wireless 2009-11-21
[openwrt.git] / tools / squashfs4 / patches / 100-portability.patch
1 --- a/squashfs-tools/global.h
2 +++ b/squashfs-tools/global.h
3 @@ -44,4 +44,8 @@ typedef long long squashfs_fragment_inde
4 typedef squashfs_inode_t squashfs_inode;
5 typedef squashfs_block_t squashfs_block;
6
7 +#ifndef FNM_EXTMATCH
8 +#define FNM_EXTMATCH 0
9 +#endif
10 +
11 #endif
12 --- a/squashfs-tools/unsquashfs.h
13 +++ b/squashfs-tools/unsquashfs.h
14 @@ -49,8 +49,10 @@
15 #define __BYTE_ORDER BYTE_ORDER
16 #define __BIG_ENDIAN BIG_ENDIAN
17 #define __LITTLE_ENDIAN LITTLE_ENDIAN
18 +#include <sys/sysctl.h>
19 #else
20 #include <endian.h>
21 +#include <sys/sysinfo.h>
22 #endif
23
24 #include "squashfs_fs.h"
This page took 0.040875 seconds and 5 git commands to generate.