diff --git a/cmd/swarm/access_test.go b/cmd/swarm/access_test.go
index 163eb2b4d6f2d4661f6ba6257ed89d327d83aa6c..7a8bcf9d3d73f8b6c4880b05065a2254a7fce27b 100644
--- a/cmd/swarm/access_test.go
+++ b/cmd/swarm/access_test.go
@@ -13,6 +13,9 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
+// +build !windows
+
 package main
 
 import (