mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/sensors-applet: add patch
This commit is contained in:
parent
e5c2a261e9
commit
3b7364a01e
1 changed files with 18 additions and 0 deletions
18
extra/sensors-applet/include-unistd.h.patch
Normal file
18
extra/sensors-applet/include-unistd.h.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
Description: include <unistd.h> in mbmon-plugin.c
|
||||
Author: Dmitry Shachnev <mitya57@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2024-03-23
|
||||
|
||||
--- a/plugins/mbmon/mbmon-plugin.c
|
||||
+++ b/plugins/mbmon/mbmon-plugin.c
|
||||
@@ -36,6 +36,10 @@
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_UNISTD_H
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#include "mbmon-plugin.h"
|
||||
|
||||
const gchar *plugin_name = "mbmon";
|
Loading…
Reference in a new issue