13 lines
515 B
Plaintext
13 lines
515 B
Plaintext
$OpenBSD: patch-battery_read-battery_h,v 1.2 2002/01/22 15:34:59 naddy Exp $
|
|
--- battery/read-battery.h.orig Thu Aug 23 11:10:07 2001
|
|
+++ battery/read-battery.h Mon Jan 21 20:30:13 2002
|
|
@@ -18,7 +18,7 @@ typedef struct apm_info {
|
|
#include <fcntl.h>
|
|
#include <machine/apm_bios.h>
|
|
#define APMDEV "/dev/apm"
|
|
-#elif __NetBSD__ && defined(NETBSD_APM)
|
|
+#elif (__NetBSD__ && defined(NETBSD_APM)) || (defined(__OpenBSD__) && defined(OPENBSD_APM))
|
|
#include <fcntl.h>
|
|
#include <sys/ioctl.h>
|
|
#include <machine/apmvar.h>
|