[PATCH] Add missing data type __s8

Jouni Malinen j at w1.fi
Sun Oct 29 07:51:53 PDT 2017


On Tue, Oct 24, 2017 at 06:10:52PM +0530, Kishan Gondaliya wrote:
> diff --git a/src/drivers/linux_wext.h b/src/drivers/linux_wext.h
> @@ -26,6 +26,7 @@ typedef int32_t __s32;
>  typedef uint16_t __u16;
>  typedef int16_t __s16;
>  typedef uint8_t __u8;
> +typedef int8_t __s8;
>  #ifndef __user
>  #define __user
>  #endif /* __user */

Could you please clarify why this is needed? These typedefs in
linux_wext.h were added for the purpose of being able to accept the
linux/wireless.h header file from the kernel (include/uapi/wireless.h)
and that file does not seem to be using __s8.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list