aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_tinygowasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime_tinygowasm.go')
-rw-r--r--src/runtime/runtime_tinygowasm.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/runtime_tinygowasm.go b/src/runtime/runtime_tinygowasm.go
index 7bc65e9c4..67367b479 100644
--- a/src/runtime/runtime_tinygowasm.go
+++ b/src/runtime/runtime_tinygowasm.go
@@ -112,3 +112,8 @@ func hardwareRand() (n uint64, ok bool) {
//
//export arc4random
func libc_arc4random() uint32
+
+// int *__errno_location(void);
+//
+//export __errno_location
+func libc_errno_location() *int32