pkgsrc/x11/bbapm/patches/patch-ak

26 lines
538 B
Text
Raw Normal View History

$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