[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: Fix build on aarch64 (bug #11724)

noreply at xfce.org noreply at xfce.org
Thu Mar 19 20:42:53 CET 2015


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-battery-plugin.

commit 0f6926479728ca784a20b63d7c146a91e37d98fb
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Mar 19 20:42:24 2015 +0100

    Fix build on aarch64 (bug #11724)
---
 panel-plugin/libacpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/libacpi.c b/panel-plugin/libacpi.c
index 530194d..efb5c9c 100644
--- a/panel-plugin/libacpi.c
+++ b/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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list