From d1789be33e3535b381d7e2700b45b3d5499b4ee6 Mon Sep 17 00:00:00 2001 From: Pavel Borzenkov Date: Thu, 12 Nov 2015 18:14:33 +0300 Subject: [PATCH] Fix compilation on OS X As OS X doesn't have it's own interrupts provider, don't build interrupts_common on OS X as well. Otherwise build fails, because interrupts_common depends on variables provided by platform-specific files. Signed-off-by: Pavel Borzenkov --- collector/interrupts_common.go | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/interrupts_common.go b/collector/interrupts_common.go index f1b57052..c9b548ea 100644 --- a/collector/interrupts_common.go +++ b/collector/interrupts_common.go @@ -12,6 +12,7 @@ // limitations under the License. // +build !nointerrupts +// +build !darwin package collector