summaryrefslogtreecommitdiff
path: root/x11/bbapm/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'x11/bbapm/patches/patch-ak')
-rw-r--r--x11/bbapm/patches/patch-ak25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/bbapm/patches/patch-ak b/x11/bbapm/patches/patch-ak
new file mode 100644
index 00000000000..a38ca6ce4e3
--- /dev/null
+++ b/x11/bbapm/patches/patch-ak
@@ -0,0 +1,25 @@
+$NetBSD: patch-ak,v 1.1.1.1 2002/09/07 20:22:54 jschauma Exp $
+
+--- /dev/null Sat Sep 7 13:47:40 2002
++++ net_apm.h Sat Sep 7 14:09:49 2002
+@@ -0,0 +1,20 @@
++/* based on OpenBSD patch available form http://bbtools.windsofstorm.net */
++#ifndef _NET_APM_H
++#define _NET_APM_H
++
++#include <stdio.h>
++#include <sys/file.h>
++#include <sys/ioctl.h>
++#include <string.h>
++#include <i386/apmvar.h>
++
++typedef struct apm_power_info apm_info;
++
++extern int apm_desc;
++extern int errno;
++
++void apm_init();
++
++int apm_read( apm_info* );
++
++#endif