diff --git a/host/host_cgo.go b/host/host_cgo.go new file mode 100644 index 000000000..50a063ee9 --- /dev/null +++ b/host/host_cgo.go @@ -0,0 +1,5 @@ +// +build cgo + +package host + +import "C" diff --git a/host/host_darwin_cgo.go b/host/host_darwin_cgo.go index f0a437016..315188846 100644 --- a/host/host_darwin_cgo.go +++ b/host/host_darwin_cgo.go @@ -4,7 +4,7 @@ package host // #cgo LDFLAGS: -framework IOKit -// #include "include/smc.c" +// #include "smc.h" import "C" import "context" diff --git a/host/include/smc.c b/host/smc.c similarity index 100% rename from host/include/smc.c rename to host/smc.c diff --git a/host/include/smc.h b/host/smc.h similarity index 100% rename from host/include/smc.h rename to host/smc.h