diff --git a/collector/powersupplyclass_darwin.go b/collector/powersupplyclass_darwin.go index a070f64d..01d7f184 100644 --- a/collector/powersupplyclass_darwin.go +++ b/collector/powersupplyclass_darwin.go @@ -18,9 +18,11 @@ package collector /* #cgo LDFLAGS: -framework IOKit -framework CoreFoundation +#include +#include +#include #include #include -#include // values collected from IOKit Power Source APIs // Functions documentation available at