$NetBSD: patch-af,v 1.2 2008/12/18 16:19:07 bjs Exp $

--- common/ppc/mc.c.orig	2008-12-12 16:45:07.000000000 -0500
+++ common/ppc/mc.c
@@ -27,7 +27,7 @@
 #include <stdint.h>
 #include <stdarg.h>
 
-#ifdef SYS_LINUX
+#if defined(SYS_LINUX) || defined(SYS_NETBSD) || defined(SYS_OPENBSD)
 #include <altivec.h>
 #endif
 
