diff options
author | Ingo Bürk | 2019-07-21 15:28:40 +0200 |
---|---|---|
committer | GitHub | 2019-07-21 15:28:40 +0200 |
commit | 86a4ff0333620189a9c5d6e4f89cf9c235b8a8fd (patch) | |
tree | cefdc3a38f3f88b2890cf015bdcea3046b87a1df | |
parent | configure: disable pulse on OpenBSD and DragonFlyBSD (diff) | |
parent | Fix headers meant for OpenBSD, but snuck in for FreeBSD (diff) |
Merge pull request #355 from jasperla/header_fix
Fix headers meant for OpenBSD, but snuck in for FreeBSD
-rw-r--r-- | src/print_battery_info.c | 3 |
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 |