$NetBSD: patch-aj,v 1.1 2006/05/13 17:01:11 ghen Exp $

--- src/aapm.cc.orig	2006-02-03 07:24:27.000000000 +0100
+++ src/aapm.cc
@@ -38,8 +38,12 @@
 #include <sys/file.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
+#ifdef __sparcv9
+#include <sparc/apmvar.h>
+#else
 #include <machine/apmvar.h>
+#endif
 #endif
 
 YColor *YApm::apmBg = 0;
 YColor *YApm::apmFg = 0;
