Browse Source

Fix SmartOS build #1017 (#1018)

Signed-off-by: Dan Fredell <Dan.Fredell@gmail.com>
pull/1053/head
Dan Fredell 6 years ago committed by Johannes 'fish' Ziemke
parent
commit
c52e0d3353
  1. 2
      collector/loadavg_solaris.go

2
collector/loadavg_solaris.go

@ -20,8 +20,6 @@ import (
)
/*
// Define "__stack_chk_fail" and "__stack_chk_guard" symbols.
#cgo LDFLAGS: -fno-stack-protector -lssp
// Ensure "hrtime_t" is defined for sys/loadavg.h
#include <sys/time.h>
#include <sys/loadavg.h>

Loading…
Cancel
Save