mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
21 lines
521 B
Diff
21 lines
521 B
Diff
|
Index: xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
|
||
|
===================================================================
|
||
|
--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c
|
||
|
+++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
|
||
|
@@ -29,6 +29,7 @@
|
||
|
#include <sys/types.h>
|
||
|
#include <dirent.h>
|
||
|
#include <glob.h>
|
||
|
+#include <unistd.h>
|
||
|
|
||
|
#ifdef __FreeBSD__
|
||
|
#include <fcntl.h>
|
||
|
@@ -52,7 +53,6 @@ static int acpifd;
|
||
|
#include <sys/sysctl.h>
|
||
|
#include <err.h>
|
||
|
#include <errno.h>
|
||
|
-#include <unistd.h>
|
||
|
|
||
|
#endif
|
||
|
|