Fix SmartOS build #1017 (#1018)

Signed-off-by: Dan Fredell <Dan.Fredell@gmail.com>
This commit is contained in:
Dan Fredell 2018-08-23 03:57:15 -07:00 committed by Johannes 'fish' Ziemke
parent 9e0aee8ae7
commit c52e0d3353

View File

@ -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>