2
0

101-Use-stddefs.h-instead-of-compiler.h.patch 611 B

12345678910111213141516171819202122
  1. From d3c5b26768dbe990c4e1bd79e420c11ce7491d51 Mon Sep 17 00:00:00 2001
  2. From: OpenWrt community <[email protected]>
  3. Date: Wed, 13 Jul 2022 11:36:00 +0200
  4. Subject: [PATCH] swab: use stddefs.h instead of compiler.h
  5. Fix an issue with kernel headers that broke perf.
  6. ---
  7. include/uapi/linux/swab.h | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  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. #include <linux/types.h>
  14. -#include <linux/compiler.h>
  15. +#include <linux/stddef.h>
  16. #include <asm/bitsperlong.h>
  17. #include <asm/swab.h>