aboutsummaryrefslogblamecommitdiffstats
path: root/community/xfce4-battery-plugin/fix-includes.patch
blob: 207ac63bdee21fe7d5b3f45a57f5a33e3ba3a399 (plain) (tree)
1
2
3
4
5
6
7
8





                            

                    




                   





                     
--- 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"