diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-18 09:29:35 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-18 09:29:35 +0000 |
commit | bd92489c71902e3b41c595e7aa5a765454d298b0 (patch) | |
tree | 08b6213f88c365e8229427064888ee9a5e62ccd1 /main/hostapd/musl-fix-types.patch | |
parent | c3a15effbf3fa6afb98382602b91db2327bf5adc (diff) | |
download | aports-bd92489c71902e3b41c595e7aa5a765454d298b0.tar.bz2 aports-bd92489c71902e3b41c595e7aa5a765454d298b0.tar.xz |
main/hostapd: fix musl build
Diffstat (limited to 'main/hostapd/musl-fix-types.patch')
-rw-r--r-- | main/hostapd/musl-fix-types.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/hostapd/musl-fix-types.patch b/main/hostapd/musl-fix-types.patch new file mode 100644 index 000000000..51625aeea --- /dev/null +++ b/main/hostapd/musl-fix-types.patch @@ -0,0 +1,19 @@ +--- hostapd-2.0.orig/src/drivers/linux_wext.h ++++ hostapd-2.0/src/drivers/linux_wext.h +@@ -21,11 +21,11 @@ + + #include <sys/types.h> + #include <net/if.h> +-typedef __uint32_t __u32; +-typedef __int32_t __s32; +-typedef __uint16_t __u16; +-typedef __int16_t __s16; +-typedef __uint8_t __u8; ++typedef uint32_t __u32; ++typedef int32_t __s32; ++typedef uint16_t __u16; ++typedef int16_t __s16; ++typedef uint8_t __u8; + #ifndef __user + #define __user + #endif /* __user */ |