summaryrefslogtreecommitdiff
path: root/devel/devIL/patches/patch-src-IL_include_altivec__common.h
blob: 1313a84f6e2f6196152a89db92e9737620149c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-src-IL_include_altivec__common.h,v 1.1 2022/09/24 21:06:42 he Exp $

Use <altivec.h> if __ALTIVEC__ is defined.

--- ./src-IL/include/altivec_common.h.orig	2009-03-08 07:10:08.000000000 +0000
+++ ./src-IL/include/altivec_common.h
@@ -8,6 +8,10 @@
 
 #include "il_internal.h"
 
+#ifdef __ALTIVEC__
+#include <altivec.h>
+#endif
+
 #ifdef ALTIVEC_GCC
 #ifndef ALTIVEC_COMMON
 #define ALTIVEC_COMMON