pmaports/temp/xfce4-battery-plugin/fix-includes.patch

20 lines
300 B
Diff
Raw Normal View History

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