From 0a317486303fc0cdd0515d84acac9abd246196ae Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 4 Oct 2019 11:22:37 +0100 Subject: sonypi-plugin.c: Make sonypi plugin portable to GNU/Hurd Taken from a downstream Debian patch. --- plugins/sonypi/sonypi-plugin.c | 6 ++++-- 1 file 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 #include "sonypi-plugin.h" +#include + 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 { -- cgit v1.2.1