mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
fix compilation warnings
This commit is contained in:
parent
65a2e0e9bb
commit
b7ac341eac
@ -4,6 +4,8 @@
|
||||
package host
|
||||
|
||||
// #cgo LDFLAGS: -framework IOKit
|
||||
// #include <stdio.h>
|
||||
// #include <string.h>
|
||||
// #include "include/smc.c"
|
||||
import "C"
|
||||
import "context"
|
||||
|
Loading…
x
Reference in New Issue
Block a user