ac997edf37
and NetBSD 1.6. Updated PKGREVISION and DESCR and MESSAGE texts.
17 lines
439 B
Text
17 lines
439 B
Text
$NetBSD: patch-ad,v 1.2 2004/06/30 14:22:49 kivinen Exp $
|
|
|
|
--- state.h.orig 1999-03-09 12:35:24.000000000 +0200
|
|
+++ state.h
|
|
@@ -13,6 +13,12 @@
|
|
/* file -> APM device */
|
|
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
|
#define APM_PROC "/dev/apm"
|
|
+#include <paths.h>
|
|
+#ifdef _PATH_SYSMON
|
|
+#define SYSMON_DEV _PATH_SYSMON
|
|
+#else
|
|
+#define SYSMON_DEV "/dev/sysmon"
|
|
+#endif
|
|
#else
|
|
#define APM_PROC "/proc/apm"
|
|
#endif
|