aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch
blob: 7057d65ce8a11cb6ab0723c644ef0faa767854f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Felix Fietkau <nbd@nbd.name>
Subject: uapi: Fix an issue with kernel headers that broke perf

Submitted-by: Felix Fietkau <nbd@nbd.name>
---
 include/uapi/linux/swab.h                             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/uapi/linux/swab.h
+++ b/include/uapi/linux/swab.h
@@ -3,7 +3,7 @@
 #define _UAPI_LINUX_SWAB_H
 
 #include <linux/types.h>
-#include <linux/compiler.h>
+#include <linux/stddef.h>
 #include <asm/bitsperlong.h>
 #include <asm/swab.h>