From 51c7c4013b6b2317265bfeee7c21cf2e9872596e Mon Sep 17 00:00:00 2001 From: Tatiana Borisova Date: Fri, 8 Dec 2017 15:05:00 +0000 Subject: [PATCH] Fix build with bazel on OSX --- host/host_darwin_cgo.go | 2 +- host/{include => }/smc.c | 0 host/{include => }/smc.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename host/{include => }/smc.c (100%) rename host/{include => }/smc.h (100%) diff --git a/host/host_darwin_cgo.go b/host/host_darwin_cgo.go index be5e18b..9471c3a 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" func SensorsTemperatures() ([]TemperatureStat, error) { 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