1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 00:09:15 -04:00
ports/multimedia/x265/files/patch-source_common_ppc_intrapred__altivec.cpp
Piotr Kubaj e1619d3584 multimedia/x265: add ASM option on powerpc64le and enable by default
While here, also add the previously uncommitted patch.
2021-11-16 17:25:41 +00:00

14 lines
339 B
C++

--- source/common/ppc/intrapred_altivec.cpp.orig 2021-11-16 17:20:04 UTC
+++ source/common/ppc/intrapred_altivec.cpp
@@ -27,7 +27,11 @@
#include <assert.h>
#include <math.h>
#include <cmath>
+#ifdef __linux__
#include <linux/types.h>
+#else
+#include <sys/types.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>