$NetBSD: patch-ab,v 1.2 2000/07/30 08:08:13 jlam Exp $ --- battery/read-battery.h.orig Fri Feb 11 11:27:56 2000 +++ battery/read-battery.h Sun Jul 30 02:24:50 2000 @@ -18,6 +18,11 @@ #include #include #define APMDEV "/dev/apm" +#elif __NetBSD__ && defined(NETBSD_APM) +#include +#include +#include +#define APMDEV "/dev/apm" #endif /* Prototypes */