summaryrefslogtreecommitdiff
path: root/src/print_battery_info.c
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2019-07-21 15:28:40 +0200
committerGitHub <noreply@github.com>2019-07-21 15:28:40 +0200
commit86a4ff0333620189a9c5d6e4f89cf9c235b8a8fd (patch)
treecefdc3a38f3f88b2890cf015bdcea3046b87a1df /src/print_battery_info.c
parent54e798e3a6dcf5747c3e943b376ae441ee0534a4 (diff)
parent70b954b122c1dae1d21593d6a5239d38fde1fd55 (diff)
Merge pull request #355 from jasperla/header_fix
Fix headers meant for OpenBSD, but snuck in for FreeBSD
Diffstat (limited to 'src/print_battery_info.c')
-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 a36b05f..c8a1d3d 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>
#include <sys/sysctl.h>
#endif