]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: import unsafe in os_windows.go (fixes windows build)
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 23 Dec 2014 04:00:04 +0000 (15:00 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 23 Dec 2014 04:14:53 +0000 (04:14 +0000)
Change-Id: I55419cb580e6d18cf1c17c3e7bb8777ed6d794e7
Reviewed-on: https://go-review.googlesource.com/1995
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os_windows.go

index e70944cb39fc65c20c03a7c80b0a2623abf782a8..9497a600fe204340e6c70f86a80a9c6f479b4b86 100644 (file)
@@ -4,6 +4,8 @@
 
 package runtime
 
+import _ "unsafe"
+
 type stdFunction *byte
 
 //go:linkname os_sigpipe os.sigpipe