From ec200c7133174495c07afbbf050b681d1a660777 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Tue, 9 May 2017 01:24:30 -0700 Subject: [PATCH] Add the minimal fix to restore being able to compile on Illumos. This brings in the necessary fix to satisfy #2989 without dragging along additional vendor updates reverted in #3019. --- vendor/github.com/docker/docker/pkg/system/meminfo_solaris.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/github.com/docker/docker/pkg/system/meminfo_solaris.go b/vendor/github.com/docker/docker/pkg/system/meminfo_solaris.go index 313c601b1..30206ad90 100644 --- a/vendor/github.com/docker/docker/pkg/system/meminfo_solaris.go +++ b/vendor/github.com/docker/docker/pkg/system/meminfo_solaris.go @@ -7,6 +7,7 @@ import ( "unsafe" ) +// #cgo CFLAGS: -std=c99 // #cgo LDFLAGS: -lkstat // #include // #include