aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/Kbuild.include4
-rw-r--r--src/compat/i387/include/asm/fpu/api.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index 905e268..769477c 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -9,3 +9,7 @@ ifeq ($(wildcard $(srctree)/include/net/dst_cache.h),)
ccflags-y += -I$(src)/compat/dst_cache/include
wireguard-y += compat/dst_cache/dst_cache.o
endif
+
+ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),)
+ccflags-y += -I$(src)/compat/i387/include
+endif
diff --git a/src/compat/i387/include/asm/fpu/api.h b/src/compat/i387/include/asm/fpu/api.h
new file mode 100644
index 0000000..f3f9117
--- /dev/null
+++ b/src/compat/i387/include/asm/fpu/api.h
@@ -0,0 +1 @@
+#include <asm/i387.h>