[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: Restore headers for *BSD (Bug #15039)

noreply at xfce.org noreply at xfce.org
Wed Feb 6 01:48:08 CET 2019

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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-battery-plugin.

commit 968b75c514faedb18181f8c628a334af8229b02e
Author: Andre Miranda <andreldm at xfce.org>
Date:   Tue Feb 5 21:46:42 2019 -0300

    Restore headers for *BSD (Bug #15039)
 panel-plugin/libacpi.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/libacpi.c b/panel-plugin/libacpi.c
index 141ee23..0755585 100644
--- a/panel-plugin/libacpi.c
+++ b/panel-plugin/libacpi.c
@@ -52,6 +52,12 @@ static int      acpifd;
 #define CTLTYPE 0x0f
+#ifndef __linux__
+#include <sys/sysctl.h>
+#include <err.h>
+#include <errno.h>
 #include "libacpi.h"
@@ -63,7 +69,7 @@ static char sysfsacdir[280];
 #ifndef __linux__
- static int
+static int
 name2oid(char *name, int *oidp)
     int oid[2];

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

More information about the Xfce4-commits mailing list