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 9e0aee8ae7
commit c52e0d3353

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