aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-battery-plugin/fix-includes.patch
blob: 207ac63bdee21fe7d5b3f45a57f5a33e3ba3a399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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"