summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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