diff --git a/cmd/syncthing/memsize_solaris.go b/cmd/syncthing/memsize_solaris.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/memsize_solaris.go
+++ b/cmd/syncthing/memsize_solaris.go
@@ -1,3 +1,5 @@
+// +build solaris
+
 package main
 
 import (
Avoid build error in Go<I>