From b7ac341eac120fb9bf1e4f1b7e2698de87a9d37b Mon Sep 17 00:00:00 2001 From: Alessandro De Angelis Date: Mon, 16 Dec 2019 11:24:55 +0100 Subject: [PATCH] fix compilation warnings --- host/host_darwin_cgo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host/host_darwin_cgo.go b/host/host_darwin_cgo.go index cca16da..283d8bd 100644 --- a/host/host_darwin_cgo.go +++ b/host/host_darwin_cgo.go @@ -4,6 +4,8 @@ package host // #cgo LDFLAGS: -framework IOKit +// #include +// #include // #include "include/smc.c" import "C" import "context"