From: Shenghou Ma Date: Tue, 23 Dec 2014 04:44:41 +0000 (-0500) Subject: runtime: fix build for arm and ppc64/ppc64le X-Git-Tag: go1.5beta1~2537 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e98f2179b17e4d5b4e416bf4856cf68813d17356;p=gostls13.git runtime: fix build for arm and ppc64/ppc64le Change-Id: I17ddcb541dfac8b1e48e01ee005563031b6ade2a Reviewed-on: https://go-review.googlesource.com/2062 Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/noasm.go b/src/runtime/noasm.go index b7e3f82f8e..998309e828 100644 --- a/src/runtime/noasm.go +++ b/src/runtime/noasm.go @@ -9,6 +9,8 @@ package runtime +import _ "unsafe" + func cmpstring(s1, s2 string) int { l := len(s1) if len(s2) < l {