summaryrefslogtreecommitdiff
path: root/libgo/go/net/fcntl_libc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/fcntl_libc_test.go')
-rw-r--r--libgo/go/net/fcntl_libc_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/go/net/fcntl_libc_test.go b/libgo/go/net/fcntl_libc_test.go
index f59a1aa33ba..c935c4540cf 100644
--- a/libgo/go/net/fcntl_libc_test.go
+++ b/libgo/go/net/fcntl_libc_test.go
@@ -6,7 +6,10 @@
package net
-import "syscall"
+import (
+ "syscall"
+ _ "unsafe"
+)
// Use a helper function to call fcntl. This is defined in C in
// libgo/runtime.