summaryrefslogtreecommitdiff
path: root/multimedia/x265/files/patch-source_common_ppc_intrapred__altivec.cpp
blob: b7b6cbcbcaf4dae39c4ea6709731c4ce07df61e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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>