7057d65ce8a11cb6ab0723c644ef0faa767854f9
[openwrt/openwrt.git] / target / linux / generic / pending-5.10 / 101-Use-stddefs.h-instead-of-compiler.h.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Subject: uapi: Fix an issue with kernel headers that broke perf
3
4 Submitted-by: Felix Fietkau <nbd@nbd.name>
5 ---
6 include/uapi/linux/swab.h | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 --- a/include/uapi/linux/swab.h
10 +++ b/include/uapi/linux/swab.h
11 @@ -3,7 +3,7 @@
12 #define _UAPI_LINUX_SWAB_H
13
14 #include <linux/types.h>
15 -#include <linux/compiler.h>
16 +#include <linux/stddef.h>
17 #include <asm/bitsperlong.h>
18 #include <asm/swab.h>
19