diff options
author | Martin Wimpress <[email protected]> | 2019-10-04 11:22:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-06-11 13:02:41 +0200 |
commit | 0a317486303fc0cdd0515d84acac9abd246196ae (patch) | |
tree | 69552bf37dbadd4fbd4c8b64660f17f7eb388151 /plugins | |
parent | 4612a672355fb6dcbf84a4439622760aefdc5f10 (diff) | |
download | mate-sensors-applet-0a317486303fc0cdd0515d84acac9abd246196ae.tar.bz2 mate-sensors-applet-0a317486303fc0cdd0515d84acac9abd246196ae.tar.xz |
sonypi-plugin.c: Make sonypi plugin portable to GNU/Hurd
Taken from a downstream Debian patch.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonypi/sonypi-plugin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sonypi/sonypi-plugin.c b/plugins/sonypi/sonypi-plugin.c index ca5987a..8430d5f 100644 --- a/plugins/sonypi/sonypi-plugin.c +++ b/plugins/sonypi/sonypi-plugin.c @@ -36,12 +36,14 @@ #include <glib/gi18n.h> #include "sonypi-plugin.h" +#include <stdint.h> + const gchar *plugin_name = "sonypi"; /* These values are taken from spicctrl by Stelian Pop */ #define SONYPI_DEV "/dev/sonypi" -#define SONYPI_IOCGFAN _IOR('v', 10, guint8) -#define SONYPI_IOCGTEMP _IOR('v', 12, guint8) +#define SONYPI_IOCGFAN _IOR('v', 10, uint8_t) +#define SONYPI_IOCGTEMP _IOR('v', 12, uint8_t) #define SONYPI_TEMP "sonypi_temp" enum { |