[x265] [PATCH] Fix PowerPC64 AltiVec code to build on *BSD

Brad Smith brad at comstyle.com
Sun Aug 6 00:28:43 UTC 2023


ping.

On 2023-06-01 6:37 p.m., Brad Smith wrote:
> Swap Linux kernel header for POSIX header. Fixes building on OpenBSD & FreeBSD powerpc64. Still
> builds clean on Linux / powerpc64.
>
>
> diff --git a/source/common/ppc/intrapred_altivec.cpp b/source/common/ppc/intrapred_altivec.cpp
> index ffdde2f92..cd3937060 100644
> --- a/source/common/ppc/intrapred_altivec.cpp
> +++ b/source/common/ppc/intrapred_altivec.cpp
> @@ -27,7 +27,7 @@
>   #include <assert.h>
>   #include <math.h>
>   #include <cmath>
> -#include <linux/types.h>
> +#include <sys/types.h>
>   #include <stdlib.h>
>   #include <stdio.h>
>   #include <stdint.h>


More information about the x265-devel mailing list