30 lines
769 B
Text
30 lines
769 B
Text
|
--- src/openbsd.h.orig Tue Oct 5 23:29:36 2010
|
||
|
+++ src/openbsd.h Tue Apr 19 18:44:53 2011
|
||
|
@@ -3,7 +3,12 @@
|
||
|
#ifndef OPENBSD_H_
|
||
|
#define OPENBSD_H_
|
||
|
|
||
|
+#ifndef MAXSENSORDEVICES
|
||
|
+#define MAXSENSORDEVICES 1024
|
||
|
+#endif
|
||
|
+
|
||
|
#include "common.h"
|
||
|
+#include "temphelper.h"
|
||
|
#include <sys/param.h>
|
||
|
#include <sys/sysctl.h>
|
||
|
#include <sys/sensors.h>
|
||
|
@@ -16,11 +21,11 @@ void print_obsd_sensors_volt(struct text_object *, cha
|
||
|
void get_obsd_vendor(char *buf, size_t client_buffer_size);
|
||
|
void get_obsd_product(char *buf, size_t client_buffer_size);
|
||
|
|
||
|
-#if defined(i386) || defined(__i386__)
|
||
|
typedef struct apm_power_info *apm_info_t;
|
||
|
-#endif
|
||
|
|
||
|
int get_entropy_avail(unsigned int *);
|
||
|
int get_entropy_poolsize(unsigned int *);
|
||
|
+
|
||
|
+static int sensor_device;
|
||
|
|
||
|
#endif /*OPENBSD_H_*/
|