From dce9da3bb33b206b13a7a7db02cf72ddec8c90a0 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 313c601b12..30206ad90b 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