pmaports/temp/xfce4-battery-plugin/fix-includes.patch
Daniele Debernardi dd0f32d9aa
temp/xfce4-battery-plugin: fix battery capacity detection (!595)
If someone also noticed the missing battery icon in the xfce4 panel,
please test with this patched plugin and report back. Thanks.
2019-09-19 00:34:13 +02:00

19 lines
300 B
Diff

--- a/panel-plugin/libacpi.c
+++ b/panel-plugin/libacpi.c
@@ -29,7 +29,6 @@
#include <sys/types.h>
#include <dirent.h>
#include <glob.h>
-#include <unistd.h>
#ifdef __FreeBSD__
#include <fcntl.h>
@@ -55,6 +54,8 @@
#include <errno.h>
#endif
+
+#include <unistd.h>
#include "libacpi.h"