summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2019-07-08 20:14:59 +0200
committerJasper Lievisse Adriaanse <jasper@humppa.nl>2019-07-08 20:14:59 +0200
commit70b954b122c1dae1d21593d6a5239d38fde1fd55 (patch)
treedf9cd3ae37dc718c1a2a1663a27d2d27a7fd17e3
parent3a51673c05142b99f8db6a0bd9b8e4b806efeb72 (diff)
Fix headers meant for OpenBSD, but snuck in for FreeBSD
-rw-r--r--src/print_battery_info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/print_battery_info.c b/src/print_battery_info.c
index e2a790c..1768bc5 100644
--- a/src/print_battery_info.c
+++ b/src/print_battery_info.c
@@ -20,8 +20,6 @@
#include <dev/acpica/acpiio.h>
#include <sys/sysctl.h>
#include <sys/types.h>
-#include <sys/sysctl.h>
-#include <sys/sensors.h>
#endif
#if defined(__DragonFly__)
@@ -33,6 +31,7 @@
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/sysctl.h>
#include <sys/sensors.h>
#endif