summaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/temp_darwin.go2
-rw-r--r--widgets/temp_freebsd.go2
-rw-r--r--widgets/temp_linux.go2
-rw-r--r--widgets/temp_openbsd.go2
-rw-r--r--widgets/temp_windows.go2
5 files changed, 10 insertions, 0 deletions
diff --git a/widgets/temp_darwin.go b/widgets/temp_darwin.go
index 2f5cde3..d0e512b 100644
--- a/widgets/temp_darwin.go
+++ b/widgets/temp_darwin.go
@@ -1,3 +1,5 @@
+// +build darwin
+
package widgets
// #cgo LDFLAGS: -framework IOKit
diff --git a/widgets/temp_freebsd.go b/widgets/temp_freebsd.go
index fcc6cda..8d9eda6 100644
--- a/widgets/temp_freebsd.go
+++ b/widgets/temp_freebsd.go
@@ -1,3 +1,5 @@
+// +build freebsd
+
package widgets
import (
diff --git a/widgets/temp_linux.go b/widgets/temp_linux.go
index 674599e..1460007 100644
--- a/widgets/temp_linux.go
+++ b/widgets/temp_linux.go
@@ -1,3 +1,5 @@
+// +build linux
+
package widgets
import (
diff --git a/widgets/temp_openbsd.go b/widgets/temp_openbsd.go
index 8d0dc63..0d4a24a 100644
--- a/widgets/temp_openbsd.go
+++ b/widgets/temp_openbsd.go
@@ -1,3 +1,5 @@
+// +build openbsd
+
package widgets
// loosely based on https://github.com/openbsd/src/blob/master/sbin/sysctl/sysctl.c#L2517
diff --git a/widgets/temp_windows.go b/widgets/temp_windows.go
index 8160900..422e395 100644
--- a/widgets/temp_windows.go
+++ b/widgets/temp_windows.go
@@ -1,3 +1,5 @@
+// +build windows
+
package widgets
import (