]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix build for arm and ppc64/ppc64le
authorShenghou Ma <minux@golang.org>
Tue, 23 Dec 2014 04:44:41 +0000 (23:44 -0500)
committerMinux Ma <minux@golang.org>
Tue, 23 Dec 2014 04:48:14 +0000 (04:48 +0000)
Change-Id: I17ddcb541dfac8b1e48e01ee005563031b6ade2a
Reviewed-on: https://go-review.googlesource.com/2062
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/noasm.go

index b7e3f82f8e7dc69c64c352d701fab7db7fc45b0b..998309e828b494ea92fbe554de0f81e87c241df8 100644 (file)
@@ -9,6 +9,8 @@
 
 package runtime
 
+import _ "unsafe"
+
 func cmpstring(s1, s2 string) int {
        l := len(s1)
        if len(s2) < l {