dd0f32d9aa
If someone also noticed the missing battery icon in the xfce4 panel, please test with this patched plugin and report back. Thanks.
19 lines
300 B
Diff
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"
|
|
|