blob: 01834021d3e3cef44a830009425e52bcb28500e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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 <fcntl.h>
#include <machine/apm_bios.h>
#define APMDEV "/dev/apm"
+#elif __NetBSD__ && defined(NETBSD_APM)
+#include <fcntl.h>
+#include <sys/ioctl.h>
+#include <machine/apmvar.h>
+#define APMDEV "/dev/apm"
#endif
/* Prototypes */
|