summaryrefslogtreecommitdiff
path: root/package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h')
-rw-r--r--package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h b/package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h
new file mode 100644
index 000000000..babe847dd
--- /dev/null
+++ b/package/wpa_supplicant/patches/patch-src_drivers_linux_wext_h
@@ -0,0 +1,19 @@
+--- wpa_supplicant-2.0.orig/src/drivers/linux_wext.h 2013-01-12 16:42:53.000000000 +0100
++++ wpa_supplicant-2.0/src/drivers/linux_wext.h 2013-08-20 17:10:28.179106082 +0200
+@@ -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 u_int32_t __u32;
++typedef int32_t __s32;
++typedef u_int16_t __u16;
++typedef int16_t __s16;
++typedef u_int8_t __u8;
+ #ifndef __user
+ #define __user
+ #endif /* __user */