PKGBUILDs/extra/sensors-applet/include-unistd.h.patch

19 lines
376 B
Diff
Raw Permalink Normal View History

2024-05-13 13:21:09 +00:00
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";