aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.15/212-tools_portability.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/hack-5.15/212-tools_portability.patch')
-rw-r--r--target/linux/generic/hack-5.15/212-tools_portability.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-5.15/212-tools_portability.patch b/target/linux/generic/hack-5.15/212-tools_portability.patch
index 0d8eb6fb9d..54ac048417 100644
--- a/target/linux/generic/hack-5.15/212-tools_portability.patch
+++ b/target/linux/generic/hack-5.15/212-tools_portability.patch
@@ -69,9 +69,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/tools/include/linux/types.h
+++ b/tools/include/linux/types.h
@@ -7,8 +7,12 @@
- #include <stdint.h>
-
#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
+ #endif
+
+#ifndef __linux__
+#include <tools/linux_types.h>
+#else