summaryrefslogtreecommitdiffstats
path: root/main/hostapd/musl-fix-types.patch
blob: 51625aeea957f9d52c4027f9b0625a2ce43204a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */