summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/print_battery_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print_battery_info.c b/src/print_battery_info.c
index 1768bc5..c8a1d3d 100644
--- a/src/print_battery_info.c
+++ b/src/print_battery_info.c
@@ -33,6 +33,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/sensors.h>
+#include <sys/sysctl.h>
#endif
#if defined(__NetBSD__)