aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-battery-plugin/fix-includes.patch
blob: de78c8c8351a4e4d25abad07475958dfc1962293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c
+++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
@@ -52,9 +52,10 @@
 #include <sys/sysctl.h>
 #include <err.h>
 #include <errno.h>
-#include <unistd.h>
 
 #endif
+
+#include <unistd.h>
 
 #include "libacpi.h"