summaryrefslogtreecommitdiff
path: root/pkg/sysinfo
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sysinfo')
-rw-r--r--pkg/sysinfo/sysinfo_solaris.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sysinfo/sysinfo_solaris.go b/pkg/sysinfo/sysinfo_solaris.go
index c858d57e0..7463cdd8f 100644
--- a/pkg/sysinfo/sysinfo_solaris.go
+++ b/pkg/sysinfo/sysinfo_solaris.go
@@ -11,6 +11,7 @@ import (
/*
#cgo LDFLAGS: -llgrp
+#cgo CFLAGS: -Wall -Werror
#include <unistd.h>
#include <stdlib.h>
#include <sys/lgrp_user.h>