From 3b7364a01e0b5e3460f4ee680f0551d50c584f4c Mon Sep 17 00:00:00 2001 From: David Beauchamp Date: Mon, 13 May 2024 09:21:09 -0400 Subject: [PATCH] extra/sensors-applet: add patch --- extra/sensors-applet/include-unistd.h.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/sensors-applet/include-unistd.h.patch diff --git a/extra/sensors-applet/include-unistd.h.patch b/extra/sensors-applet/include-unistd.h.patch new file mode 100644 index 000000000..9b2b817db --- /dev/null +++ b/extra/sensors-applet/include-unistd.h.patch @@ -0,0 +1,18 @@ +Description: include in mbmon-plugin.c +Author: Dmitry Shachnev +Forwarded: no +Last-Update: 2024-03-23 + +--- a/plugins/mbmon/mbmon-plugin.c ++++ b/plugins/mbmon/mbmon-plugin.c +@@ -36,6 +36,10 @@ + #include + #endif + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++ + #include "mbmon-plugin.h" + + const gchar *plugin_name = "mbmon";