diff options
author | Haibo Xu <haibo.xu@arm.com> | 2019-08-05 03:16:50 +0000 |
---|---|---|
committer | Haibo Xu <haibo.xu@arm.com> | 2019-08-05 23:10:08 +0000 |
commit | 83fdb7739e2da5636147bac89d2508be507801dc (patch) | |
tree | afb65ce118d58a73486d66cf1e0d16dcd4440934 /pkg/fdnotifier/BUILD | |
parent | 960a5e5536d5d961028ef60123e3b00ff3c04a56 (diff) |
Change syscall.EPOLLET to unix.EPOLLET
syscall.EPOLLET has been defined with different values on amd64 and
arm64(-0x80000000 on amd64, and 0x80000000 on arm64), while unix.EPOLLET
has been unified this value to 0x80000000(golang/go#5328). ref #63
Signed-off-by: Haibo Xu <haibo.xu@arm.com>
Change-Id: Id97d075c4e79d86a2ea3227ffbef02d8b00ffbb8
Diffstat (limited to 'pkg/fdnotifier/BUILD')
-rw-r--r-- | pkg/fdnotifier/BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/fdnotifier/BUILD b/pkg/fdnotifier/BUILD index d0552c06e..aca2d8a82 100644 --- a/pkg/fdnotifier/BUILD +++ b/pkg/fdnotifier/BUILD @@ -10,5 +10,8 @@ go_library( ], importpath = "gvisor.dev/gvisor/pkg/fdnotifier", visibility = ["//:sandbox"], - deps = ["//pkg/waiter"], + deps = [ + "//pkg/waiter", + "@org_golang_x_sys//unix:go_default_library", + ], ) |