From abdd597add5f5a2be5201c712fc27caa0c354a0d Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Wed, 16 Jan 2019 22:30:53 +0100 Subject: [PATCH] Add CACHE_LINE_SIZE for ARM in FreeBSD header The Haiku headers are C++ and include other C++ ones --- src/libs/compat/freebsd_network/compat/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/compat/freebsd_network/compat/sys/param.h b/src/libs/compat/freebsd_network/compat/sys/param.h index eff4250689..1d03ac8374 100644 --- a/src/libs/compat/freebsd_network/compat/sys/param.h +++ b/src/libs/compat/freebsd_network/compat/sys/param.h @@ -62,7 +62,7 @@ #endif /* defined in arch_cpu.h which we can't include here as it's C++ */ -#if defined(__x86_64__) || defined(__i386__) +#if defined(__x86_64__) || defined(__i386__) || defined(__arm__) #define CACHE_LINE_SIZE 64 #else #error Need definition of CACHE_LINE_SIZE for this arch!